[PATCH 6/8] process non-dependant hotplug events in parallel

Scott James Remnant scott at ubuntu.com
Tue Nov 20 00:09:46 PST 2007


On Mon, 2007-11-19 at 16:20 +0000, Rob Taylor wrote:

> Calculate event dependancy of hotplug events based of their sysfs_path.
> In hotplug_event_process_queue if an event is dependant on an event in
> progress, it will be held back in in the queue.
> 
> The event dependancy calculation is cribbed from udev. It requires the
> event sequence number in order to order the dependancies. We don't get
> event sequence numbers during coldplug, so we emulate them using a
> simple counter.
> 
If this isn't an argument that HAL and udev are doing the same thing
these days, I don't know what is! :-)

Scott
-- 
Scott James Remnant
scott at ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20071120/5c027cb1/attachment.pgp 


More information about the hal mailing list