new udev rule matching engine committed

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

 



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

--
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