Re: 2.6.17-rc5-mm3

From: Ingo Molnar
Date: Mon Jun 05 2006 - 16:07:33 EST



* Dave Jones <davej@xxxxxxxxxx> wrote:

> > kernel/mutex-debug.c:
> > void debug_mutex_free_waiter(struct mutex_waiter *waiter)
> > {
> > DEBUG_WARN_ON(!list_empty(&waiter->list));
> > memset(waiter, 0x22, sizeof(*waiter));
> > }
>
> Documentation/magic-number.txt sounds so promising, but we scatter
> definitions of numbers all over the place. (No mention of the slab
> poison values, or similar numbers there for eg, and various pointers
> to _other_ lists of magic numbers).

we've also got include/linux/poison.h - i'll move this value there.

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/