summaryrefslogtreecommitdiff
path: root/udev_add.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@suse.de>2006-01-29 02:09:35 +0100
committerKay Sievers <kay.sievers@suse.de>2006-01-29 02:09:35 +0100
commit34f55103c5d451d247fc3b57579a6b3c1de0d58d (patch)
tree5b857a22e7f27864b254d7612508438e001f797b /udev_add.c
parent3d94fb8742847afe8396f6dd38b16ff4e836611d (diff)
optimize sysfs device and attribute cache
Add negative cache for attributes and look for device in cache before doing any sysfs access. (Three times speed up for a stupid 1000 rules SYSFS file). Signed-off-by: Kay Sievers <kay.sievers@suse.de>
Diffstat (limited to 'udev_add.c')
0 files changed, 0 insertions, 0 deletions