28 Sep 12:57
[PATCH 0/2] udevd: Optimize "goto"
From: Alan Jenkins <alan-jenkins <at> tuffmail.co.uk>
Subject: [PATCH 0/2] udevd: Optimize "goto"
Newsgroups: gmane.linux.hotplug.devel
Date: 2008-09-28 11:00:29 GMT
Subject: [PATCH 0/2] udevd: Optimize "goto"
Newsgroups: gmane.linux.hotplug.devel
Date: 2008-09-28 11:00:29 GMT
I seem to remember you mentioned this as a longer-term goal. This was in the context of the TODO item "rework rules to a match-action list, instead of a rules array". The idea was to move the scan for the label targeted by a goto rule (udev_rules_iter_label), from run-time to parse-time. It avoids repeating the scan for every event. I already had a patch for this specific idea. I think it can be implemented now without causing problems. It's no big win - cachegrind suggests it takes 5% off user cpu time - but it is progress. -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo <at> vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
RSS Feed