lib: Test against available swap
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Feb 2014 11:56:16 +0000 (11:56 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 26 Feb 2014 12:06:10 +0000 (12:06 +0000)
commitea332b64b6e9f6935da4b43f05fefcdcea32cc64
tree20d9e6fb907f171b2e9c9a42413eff5230fd22c9
parent37773d91d9b56f9f06c86e405e8dc9343f2c71c1
lib: Test against available swap

Even if we ignore the double-accounting bug in Linux, we need to be sure
that the remaining swapspace is adequate for running our test as the
system may be under load before we even start.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
lib/intel_drm.c