[PATCH] Make hotplugging non-recursive.

David Zeuthen david at fubar.dk
Thu Feb 1 09:55:47 PST 2007


On Wed, 2007-01-31 at 16:03 +0000, Rob Taylor wrote:
> Ok to commit?
> 
> This adds a notify callback for when hald_runner has finished calling a
> callout.
> For linux, we install hotplug_event_process_queue as the notify, and
> modify hotplug_event_process_queue to iterate the queue. All recrursive
> calls to hotplug_event_process_queue are removed. This results in
> massive stack and a not inconsiquential heap savings.

Yeah, that sounds like a smart thing to do. The patch looks good; please
commit. Thanks!

     David




More information about the hal mailing list