linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] udevd: Optimize "goto"
@ 2008-09-28 11:00 Alan Jenkins
  0 siblings, 0 replies; only message in thread
From: Alan Jenkins @ 2008-09-28 11:00 UTC (permalink / raw)
  To: linux-hotplug

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-09-28 11:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-28 11:00 [PATCH 0/2] udevd: Optimize "goto" Alan Jenkins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).