Re: [COUNTERPATCH] mm: avoid overflowing preempt_count() in mmu_take_all_locks()
From: Avi Kivity
Date: Thu Apr 01 2010 - 12:40:57 EST
On 04/01/2010 02:16 PM, Peter Zijlstra wrote:
On Thu, 2010-04-01 at 14:13 +0300, Avi Kivity wrote:
If someone is willing to audit all code paths to make sure these locksThey had better be, they're not irq-safe. Also that's what lockdep is
are always taken in schedulable context I agree that's a better fix.
I don't understand. There are non-schedulable contexts (i.e. with a
spinlock held) that are not irq contexts.
error compiling committee.c: too many arguments to function
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/