diff options
author | Chris Wilson <[email protected]> | 2010-01-27 13:36:32 +0000 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2010-01-27 09:26:43 -0800 |
commit | 4bdadb9785696439c6e2b3efe34aa76df1149c83 (patch) | |
tree | 986b06ebf3f585f78a7e11cae39d5fdb7251c757 /tools/perf/scripts/python/check-perf-trace.py | |
parent | 0531b2aac59c2296570ac52bfc032ef2ace7d5e1 (diff) |
drm/i915: Selectively enable self-reclaim
Having missed the ENOMEM return via i915_gem_fault(), there are probably
other paths that I also missed. By not enabling NORETRY by default these
paths can run the shrinker and take memory from the system (but not from
our own inactive lists because our shrinker can not run whilst we hold
the struct mutex) and this may allow the system to survive a little longer
whilst our drivers consume all available memory.
References:
OOM killer unexpectedly called with kernel 2.6.32
http://bugzilla.kernel.org/show_bug.cgi?id=14933
v2: Pass gfp into page mapping.
v3: Use new read_cache_page_gfp() instead of open-coding.
Signed-off-by: Chris Wilson <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Eric Anholt <[email protected]>
Cc: [email protected]
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions