chiark / gitweb /
udevd: always try to find an idle worker instead of forking a new one
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 26 Apr 2010 10:21:16 +0000 (12:21 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 26 Apr 2010 10:25:59 +0000 (12:25 +0200)
commit665ee17def2caa6811ae032ae68ebf8239a18cf8
treec55a8d33011173043f5d00090b23327937e4501d
parentad3d4198439f06cab8a2a65190ad501b803666a1
udevd: always try to find an idle worker instead of forking a new one

We special-handle events with a TIMEOUT= set, so they don't get queued
or wait for parent events to finish, to make sure we can handle them
as fast as possible.

With this change we first try to find an idle worker process before
forking a new one.
udev/udevd.c