Run more jobs in parallel if we have enough loop devices.

By default, Linux ships with 8 loop devices, so we limit to 1 job
on those machines just to conserve six of the loop devices for other
processes. On buildbots, we've increased the number of loop devices to
64, so we should be able to run more jobs in parallel (up to 29 jobs,
if we have that many CPUs.)

BUG=chromium-os:19085
TEST=Run test suite with more loop devices and see it run faster.

Change-Id: I268674c6b8b48d25a569ddca61a214f7978d9f98
Reviewed-on: http://gerrit.chromium.org/gerrit/7351
Reviewed-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Don Garrett <dgarrett@chromium.org>
Tested-by: David James <davidjames@chromium.org>
1 file changed