Re: [patch] Kconfig.debug DEBUG_PREEMPT dependency

From: Ingo Molnar
Date: Wed Jun 06 2007 - 07:32:43 EST



* maximilian attems <max@xxxxxxx> wrote:

> allow to set DEBUG_PREEMPT on PREEMPT_BKL, but !PREEMPT purpose is to
> get bonus of debug_smp_processor_id().

hm, have you tested this? In the case of !PREEMPT there will be _lots_
of places that use smp_processor_id() but where the preempt_count() wont
be elevated - causing false positive warnings.

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/