On Fri, Oct 21, 2005 at 04:59:21PM -0400, Alan Stern wrote: > Guys: > > Here's an example patch showing how the existing notifier chain code can > be reimplemented in a safe manner (and how the code's appearance can be > improved!). > > I haven't tested this, although kernel/sys.c source file compiles okay. A > complete patch would have to adjust the definitions of all 22 existing > notifier chains. > > Is this worth pursuing?
I think so, it looks good. But why not use the list walk macros we have availble instead of following the links on your own? And are you sure this is safe to remove an item from the list while in a callback? What happens if you remove 2 of them? thanks, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
