summaryrefslogtreecommitdiff
path: root/lib/gen7_render.h
diff options
context:
space:
mode:
authorMichał Winiarski <michal.winiarski@intel.com>2018-06-11 17:52:44 +0200
committerMichał Winiarski <michal.winiarski@intel.com>2018-06-13 12:43:23 +0200
commite4908004547b63131352fbc0ddcdb1d3d55480e0 (patch)
tree3874b2162f31cbb914891c6ea234f02f1977be5b /lib/gen7_render.h
parent30e501adedf2c89839ef1d654a0281155cfbc589 (diff)
igt/evictions: Avoid getting killed by the reaper in mlock
We're little bit too enthusiastic in our initial attempt to lock all available memory. Let's use the mlock probe from lib rather than trying to lock everything that sysinfo.freeram has to offer. Note that we're only tweaking the initial step - it's still possible that we're going to get killed later on. v2: Just increment lock instead of modifying addr passed to mlock Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Cc: Ewelina Musial <ewelina.musial@intel.com> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Ewelina Musial <ewelina.musial@intel.com>
Diffstat (limited to 'lib/gen7_render.h')
0 files changed, 0 insertions, 0 deletions