Re: [Patch 2.6.15-rc1] Clean up the die notifier registration routines

From: Alan Stern
Date: Tue Nov 15 2005 - 10:09:15 EST


On Tue, 15 Nov 2005, Keith Owens wrote:

> Remove the extraneous die_notifier_lock, notifier_chain_register()
> and notifier_chain_unregister already take a lock. Also there is some
> work being done to make the generic notify code race safe and the
> die_notifier_lock would get in that way of that rework. See
> http://marc.theaimsgroup.com/?l=linux-kernel&m=113175279131346&w=2
>
> Add unregister_die_notifier() and export it on all architectures.
>
> Export register_die_notifier() on some architectures, others already
> had an export.
>
> Correct include/asm-*/kdebug.h to define the functions as extern.
>
> Remove trailing whitespace in include/asm-x86_64/kdebug.h.
>
> Compile tested on i386 and x86_64, powerpc and sparc64 have only been
> desk checked. The ia64 version of this code has already been changed
> in 2.6.15-rc1.

Keith, can you delay this patch until the general notifier fixups have
been merged? Most of what you did duplicates changes that we are making
and some of it will clash.

Alan Stern

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