Re: [PATCH] rules: avoid reading DRIVER for devices without modalias

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

 



Kay Sievers wrote:
On Wed, Jun 3, 2009 at 16:51, Alan Jenkins <alan-jenkins@xxxxxxxxxxxxxx> wrote:
DRIVER requires a readlink() in sysfs.  The MODALIAS key is provided by
uevent and requires no additional read.  Test MODALIAS first.

Are you sure that makes a difference? We *should* sort the keys while
parsing, and run the cheaper ones before the more expensive ones. At
least that's how it was before the rewrite of the parser, and it
*should* be still the same today.

Thanks,
Kay


Sorry, I'd forgotten that.  You're right it makes no difference.





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