chiark / gitweb /
udevd: use a tighter loop for compare_devpath()
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>
Sat, 25 Oct 2008 16:01:21 +0000 (17:01 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 25 Oct 2008 17:41:52 +0000 (19:41 +0200)
This crops up in my threaded udevd profiles from time to time.
It's not consistent - probably due to variations in the number
of concurrent events - but it can hit 4% user time and higher.

The change halves the user time spent in compare_devpath().

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>

No differences found