]> err.no Git - systemd/commitdiff
udev: limit minimum worker count to 16
authorKay Sievers <kay@vrfy.org>
Mon, 4 Jun 2012 14:40:31 +0000 (16:40 +0200)
committerKay Sievers <kay@vrfy.org>
Mon, 4 Jun 2012 14:40:31 +0000 (16:40 +0200)
src/udev/udevd.c

index 229031ccb139e03ed0c44dc640db1a2a7a323ca1..8ad1eccac14a573eef077bdc844d64a3053248db 100644 (file)
@@ -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);