summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2018-05-24 13:06:01 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2018-06-08 13:01:17 +0100
commit7b6838781441cfbc7f6c18f421f127dfb02b44cf (patch)
treea5245ffa84a99d583409964b6c084cd8ffc30a5c /tools
parent093fa482371795c3aa246509994eb21907f501b9 (diff)
igt/drv_suspend: Suspend under memory pressure
Recently we discovered that we have a race between swapping and suspend in our resume path (we might be trying to page in an object after disabling the block devices). Let's try to exercise that by exhausting all of system memory before suspend. v2: Explicitly share the large memory area on forking to avoid running out of memory inside the suspend helpers (for they fork!) References: https://bugs.freedesktop.org/show_bug.cgi?id=106640 Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tomi Sarvela <tomi.p.sarvela@intel.com> Reviewed-by: Antonio Argenziano <antonio.argenziano@intel.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions