]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/udev/udevd.c
udevd: wait 3 seconds before killing worker processes
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 1 Nov 2018 01:37:51 +0000 (10:37 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 6 Nov 2018 15:25:13 +0000 (00:25 +0900)
commiteca195ec23fb4ed3ece26b55f85c5eefa662e967
treea2d8dfa04721b850aa40bebdbfadc7701c1c72e7
parentda14313418f1bbbdf52bd9435e6a183b1f59779a
udevd: wait 3 seconds before killing worker processes

During boot process, many worker processes are forked and killed.
To decrease cycles of forking and killing worker, let's wait
3 seconds before killing workers. If new uevent or inotify event
comes within the delay, the killing porcess will be cancelled.
src/udev/udevd.c