Kay Sievers schrobtete: > On Thu, Mar 3, 2011 at 18:38, Thomas Egerer <thomas.egerer@xxxxxxxxxxx> wrote: >> The approach shown in the patch may have indeed a performance impact which we >> understand must be avoided. But I take it you are not generally opposed to >> providing such an interface, assuming it is implemented in a way that does not >> interfere with the existing mode of operation? > > Sure, sounds fine to have that. > > Maybe just use the interface for: > udevadm info -a > and replace: > http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob;f=udev/udevadm-info.c;h=4510f4aa907dc56a22544564ec1e10045046bf61;hb=HEAD#l34 In regard to your objection concerning performance, I rewrote the original patch, using a separate list for the means of retrieving all sysfs attributes. The newly introduced interface is now being used in udevadm, too. Patches (not linewrapped, this time) follow. Cheers, Thomas -- 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