diff options
author | Kay Sievers <kay@vrfy.org> | 2012-06-04 16:40:31 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2012-06-04 16:40:31 +0200 |
commit | d315bba6f6c9d929acdbf3c37cbcf6c9a72365ac (patch) | |
tree | a0f84ca1f8c4170a634b4388eabc7fcd38e42f0e /src/udev | |
parent | 98cfcde5f49f6ca6560ecf4c24a455196dd6d0c1 (diff) |
udev: limit minimum worker count to 16
Diffstat (limited to 'src/udev')
-rw-r--r-- | src/udev/udevd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 229031ccb1..8ad1eccac1 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -1353,9 +1353,9 @@ int main(int argc, char *argv[]) /* set value depending on the amount of RAM */ if (memsize > 0) - children_max = 28 + (memsize / 8); + children_max = 16 + (memsize / 8); else - children_max = 28; + children_max = 16; } log_debug("set children_max to %u\n", children_max); |