[PATCH 3/8] process coldplug events as soon as they're generated

Rob Taylor rob.taylor at codethink.co.uk
Mon Nov 19 08:17:54 PST 2007


By processing coldplug events as soon as their generated and enqueued we
cansave some memory usage now that hotplug events are allocated using
g_slice rather than in a pool.

---
 hald/linux/coldplug.c |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

-- 
Rob Taylor, Codethink Ltd. -  http://codethink.co.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 7386d34243846a70127699c2aeeb2817a56a1a5d.diff
Type: text/x-patch
Size: 1436 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20071119/a7be877d/attachment-0001.bin 


More information about the hal mailing list