* new udev rule matching engine committed
@ 2008-10-22 22:39 Kay Sievers
0 siblings, 0 replies; only message in thread
From: Kay Sievers @ 2008-10-22 22:39 UTC (permalink / raw)
To: linux-hotplug
I've committed a new rule matching engine, which uses a key list instead
of a rules array.
The in-memory rule array of a common desktop distro's rules set
(including the "insane" sane-backend rules) took 1.2 MB, while the key
list takes only 170 kB.
old: 1151088 bytes
new: 109232 bytes tokens (6827 * 16 bytes), 71302 bytes buffer
Also the limits of one instance of key type, and 5 instances of ATTR and
ENV, per rule are gone.
Thanks,
Kay
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-22 22:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 22:39 new udev rule matching engine committed Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox