Messages in this thread | | | Date | Tue, 21 Dec 2004 21:03:45 -0800 | From | Greg KH <> | Subject | Re: My vision of usbmon |
| |
On Tue, Dec 21, 2004 at 06:25:14PM -0800, Pete Zaitcev wrote: > > Generally, the type of coding which requires a use of memory barriers in drivers > is a bug or a latent bug, so I am sorry for the above. It was a sacrifice to > make usbmon invisible if it's not actively monitoring. Sorry about that.
Well, why do that? Why not do something like the security hooks do, and have a default "noop" hook if we don't have a monitor, and when you load the monitor, it switches the hook to point to your code?
thanks,
greg k-h - 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/
| |