* [PATCH 0/6] kobject/hotplug split
@ 2005-03-18 4:00 Kay Sievers
2005-03-23 22:18 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Kay Sievers @ 2005-03-18 4:00 UTC (permalink / raw)
To: linux-kernel; +Cc: Greg KH
This splits the implicit generation of hotplug events from
kobject_add() and kobject_del(), to give the driver core
control over the time the event is created.
The kobject_register() and unregister functions still have the same
behavior and emit the events by themselves.
The class, block and device core is changed now to emit the hotplug
event _after_ the "dev" file, the "device" symlink and the default
attributes are created. This will save udev from spinning in a stat() loop
to wait for the files to appear, which is expensive if we have a lot of
concurrent events.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH 0/6] kobject/hotplug split
2005-03-18 4:00 [PATCH 0/6] kobject/hotplug split Kay Sievers
@ 2005-03-23 22:18 ` Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2005-03-23 22:18 UTC (permalink / raw)
To: Kay Sievers; +Cc: linux-kernel
On Fri, Mar 18, 2005 at 05:00:00AM +0100, Kay Sievers wrote:
> This splits the implicit generation of hotplug events from
> kobject_add() and kobject_del(), to give the driver core
> control over the time the event is created.
>
> The kobject_register() and unregister functions still have the same
> behavior and emit the events by themselves.
>
> The class, block and device core is changed now to emit the hotplug
> event _after_ the "dev" file, the "device" symlink and the default
> attributes are created. This will save udev from spinning in a stat() loop
> to wait for the files to appear, which is expensive if we have a lot of
> concurrent events.
Thanks for splitting this up. I've applied all 6 to my trees now.
greg k-h
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-23 23:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18 4:00 [PATCH 0/6] kobject/hotplug split Kay Sievers
2005-03-23 22:18 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox