Re: [RFC] sysfs kobject that doesn't trigger hotplug events

Greg KH
2004-05-19T03:35:22Z

On Tue, May 18, 2004 at 10:11:56PM -0400, John Zielinski wrote:
>
> Looking through the kobject.c code I noticed that this would create a
> lot of hotplug events which would burn up a bit of processor time.
> These events are not necessary as these are not device kobjects. I've
> enclosed a patch to my solution for this. I'd like to know if there are
> any side effects with this method.

Your patch is not needed at all. Please read the first comment in the
kobject_hotplug() function to see how to prevent kobjects from creating
hotplug events.

thanks,

greg k-h