From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pitt Date: Mon, 21 Dec 2009 15:54:45 +0000 Subject: Re: speed up udev-acl.mk Message-Id: <20091221155445.GD2268@piware.de> List-Id: References: <20091221153201.GC2268@piware.de> In-Reply-To: <20091221153201.GC2268@piware.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Martin Pitt [2009-12-21 16:32 +0100]: > I thought about providing a special-case implementation of > udev_enumerate_scan_devices() which fires when there is only a > property match and nothing else. In this case we could just walk > /dev/.udev/db (which we have to do anyway to match the properties) and > skip the /sys walk. On second look, we can't reliably/easily map the db to sys paths, because of the linked devices in the db. So let's skip this for now, and I'll rather look into doing some smaller optimizations like b73bf332. Thanks, Martin -- Martin Pitt | http://www.piware.de Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)