Re: PATCH] debug: add notifier chain debugging

From: Ingo Molnar
Date: Fri Aug 15 2008 - 18:54:21 EST



* Arjan van de Ven <arjan@xxxxxxxxxxxxx> wrote:

> From: Arjan van de Ven <arjan@xxxxxxxxxxxxxxx>
> Subject: [PATCH] debug: add notifier chain debugging
>
> during some development we suspected a case where we left something in
> a notifier chain that was from a module that was unloaded already...
> and that sort of thing is rather hard to track down.
>
> This patch adds a very simple sanity check (which isn't all that
> expensive) to make sure the notifier we're about to call is actually
> from either the kernel itself of from a still-loaded module, avoiding
> a hard-to-chase-down crash.

applied for testing, thanks Arjan.

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/