lkml.org 
[lkml]   [2003]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:35    [W:0.190 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site