[PATCH 0/8] Various large optimisations

Danny Kukawka danny.kukawka at web.de
Wed Nov 21 07:54:26 PST 2007


On Montag, 19. November 2007, Rob Taylor wrote:
> Here is a sequence of patches that optimise HAL's startup time and
> memory usage.

Tested the patches on a x86_64 system. Without deeper look:
* lose DVD/CD volumes/media
* lose crypted volumes/media
* compiler warnings:

D -MP -MF .deps/device.Tpo -c -o device.o device.c
device.c: In function ‘hal_device_property_find’:
device.c:553: warning: cast to pointer from integer of different size
device.c: In function ‘hdpfe’:
device.c:881: warning: cast from pointer to integer of different size
device.c: In function ‘hal_device_property_set_string’:
device.c:1096: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_set_int’:
device.c:1134: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_set_uint64’:
device.c:1172: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_set_bool’:
device.c:1210: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_set_double’:
device.c:1248: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_remove’:
device.c:1363: warning: cast to pointer from integer of different size
device.c:1368: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_strlist_append’:
device.c:1485: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_strlist_prepend’:
device.c:1544: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_strlist_clear’:
device.c:1591: warning: cast to pointer from integer of different size
device.c: In function ‘hal_device_property_strlist_add’:
device.c:1644: warning: cast to pointer from integer of different size

Danny


More information about the hal mailing list