Messages in this thread | | | Date | Tue, 27 May 2003 17:02:47 +0100 | From | viro@parcelfa ... | Subject | Re: Registering for notifier chains in modules (was Linux 2.4.21-rc3 - ipmi unresolved) |
| |
On Tue, May 27, 2003 at 09:48:53AM -0500, Corey Minyard wrote:
> >The user does have to do something. Every piece of code that calls > >notify_register has to set the new field to __THIS_MODULE. WIthout > >that field being set, you are no better off, the race still exists. > > > Why? The user doesn't have to set the field, you can let the > registration code do that. I have attached a patch as an example.
How the devil would registration code figure out which module should be used? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |