[PATCH 4/8] rework handling of data from udevinfo for more efficient memory usage

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


This patch reworks the handling of the output of udevinfo so that the
output is parsed into an intermediatary form (with a hash table of
sysfpath to structures pointing directly into the output as captured).
This is converted into HotplugEvents one at a time when needed by
coldplug_get_hotplug_event.

---
 hald/linux/coldplug.c |  175
++++++++++++++++++++++++++++++++-----------------
 1 files changed, 115 insertions(+), 60 deletions(-)

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


More information about the hal mailing list