Re: [PATCH 01/15] mm: poison struct page for ptlock

From: Ingo Molnar
Date: Thu Nov 10 2005 - 06:32:34 EST



* Andrew Morton <akpm@xxxxxxxx> wrote:

> Andrew Morton <akpm@xxxxxxxx> wrote:
> >
> > Well plan B is to kill spinlock_t.break_lock.
>
> And plan C is to use a bit_spinlock() against page->flags.

please dont. Bit-spinlock is a PITA because it is non-debuggable and
non-preempt-friendly. (In fact in -rt i have completely eliminated
bit_spinlock(), because it's also such a PITA to type-encapsulate it
sanely.)

Ingo
-
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/