[PATCH 0/2] udevd: Optimize "goto"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux