Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-23 | shrink struct udev_event | Kay Sievers | |
2008-10-23 | do not create temporary node ($tempnode) if node already exists | Kay Sievers | |
2008-10-23 | replace in-memory rules array with match/action token list | Kay Sievers | |
The in-memory rule array of a common desktop distro install took: 1151088 bytes with the token list: 109232 bytes tokens (6827 * 16 bytes), 71302 bytes buffer | |||
2008-10-22 | handle numerical owner/group string in lookup_user/group() | Kay Sievers | |
2008-10-22 | use re-entrant variants of getpwnam and getgrnam | Alan Jenkins | |
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-10-22 | add util_resolve_subsys_kernel() | Kay Sievers | |
2008-10-22 | volume_id: swap - larger PAGE_SIZE support | Matthias Koenig | |
2008-10-21 | replace strncpy() with strlcpy() | Alan Jenkins | |
The problem was strncpy() doesn't stop after writing the terminating NUL; by definition it goes on to zero the entire buffer. I spy another use of strncpy in udev_device_add_property_from_string(), which is responsible for another ~1% user cpu time... Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-10-21 | libudev: device - 128 -> ENVP_SIZE | Kay Sievers | |
2008-10-21 | libudev: allocate udev_device->envp[] dynamically | Alan Jenkins | |
Measured 2% _user_ cpu time reduction on EeePC coldplug. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-10-21 | libudev: util - optimize path_encode() | Alan Jenkins | |
Since we already know the length, use memcpy() instead. Measured 2% _user_ cpu time reduction on EeePC coldplug. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-10-21 | use more appropriate alternatives to malloc() | Alan Jenkins | |
Use calloc to request cleared memory instead. Kernel and libc conspire to make this more efficient. Also, replace one malloc() + strcpy() with strdup(). Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-10-21 | do not use the new work-in-progress parser rule matcher | Kay Sievers | |
2008-10-21 | add "root" == 0 shortcuts to lookup_user/group() | Kay Sievers | |
2008-10-21 | replace missing get_attr_value() -> get_sysattr_value() | Kay Sievers | |
2008-10-21 | cdrom_id: remove ARRAY_SIZE() declaration | Kay Sievers | |
2008-10-20 | libudev: device - get_attr_value() -> get_sysattr_value() | Kay Sievers | |
2008-10-18 | pass make distcheck | Kay Sievers | |
2008-10-18 | prefix udev-util.c functions with util_* | Kay Sievers | |
2008-10-18 | selinux_init(udev) -> udev_selinux_init(udev) | Kay Sievers | |
2008-10-18 | udev_list_cleanup() -> udev_list_cleanup_entries() | Kay Sievers | |
2008-10-18 | move udev_rules_apply_format() to udev-event.c | Kay Sievers | |
2008-10-18 | udev_rules_run() -> udev_event_execute_run(); | Kay Sievers | |
2008-10-18 | udev_event_run() -> udev_event_execute_rules() | Kay Sievers | |
2008-10-18 | udevd: avoid overhead of calling rmdir on non-empty directories | Alan Jenkins | |
Unfortunately the linux rmdir implementation unhashes the dentry even when the directory is not removed. This is apparently by design (for filesystems that don't allow deleting open files). Results from time(1) and oprofile follow. Before: 0.35user 0.90system samples % image name symbol name 608 9.6738 vmlinux shrink_dcache_parent 293 4.6619 vmlinux copy_page_c 271 4.3119 vmlinux copy_page_range 257 4.0891 udevd udev_rules_iter_next After: 0.31user 0.67system samples % image name symbol name 361 5.0419 vmlinux copy_page_range 322 4.4972 udevd udev_rules_iter_next 300 4.1899 vmlinux copy_page_c Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> | |||
2008-10-18 | move run_program to util | Kay Sievers | |
2008-10-18 | make struct udev_rules opaque | Kay Sievers | |
2008-10-18 | merge udev-rules.c and udev-rules-parse.c | Kay Sievers | |
2008-10-17 | delete list.h | Kay Sievers | |
2008-10-17 | collect: use udev_list | Kay Sievers | |
2008-10-17 | udevd: use udev_list_node | Kay Sievers | |
2008-10-17 | libudev: make list_node functions available | Kay Sievers | |
2008-10-17 | libudev: ctrl - change magic to integer | Kay Sievers | |
2008-10-17 | libudev: monitor - add set_receive_buffer_size() | Kay Sievers | |
2008-10-17 | test: fix a few unintentially wrongly written rules which cause parse errors | Kay Sievers | |
2008-10-17 | libudev: add sysnum to test program | Kay Sievers | |
2008-10-17 | libudev: fix sysnum logic for digit-only device names | Alan Jenkins | |
2008-10-17 | libudev: list - prepend udev_* to all functions | Kay Sievers | |
2008-10-17 | delete udev-util-file.c | Kay Sievers | |
2008-10-17 | update rules file parsing | Kay Sievers | |
2008-10-16 | update IMPORT= file/stdout property parsing | Kay Sievers | |
2008-10-16 | run_program: prevent empty last argv entry | Kay Sievers | |
2008-10-16 | fix sorting of rules files | Kay Sievers | |
2008-10-16 | delete name_list, move common file functions | Kay Sievers | |
2008-10-16 | udev-rules-parse: name_list -> udev_list | Kay Sievers | |
2008-10-16 | udev-node: name_list -> udev_list | Kay Sievers | |
2008-10-16 | libudev: monitor - export MAJOR/MINOR only if available | Kay Sievers | |
2008-10-16 | libudev: always add UDEV_LOG | Kay Sievers | |
2008-10-16 | rename udev source files | Kay Sievers | |
2008-10-16 | move udev_device_db to libudev | Kay Sievers | |