diff options
| author | Chris Wilson <[email protected]> | 2018-01-21 17:31:43 +0000 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2018-02-01 15:32:46 +0000 |
| commit | 124804c4c4b2e84e956cedd17878562e230a907f (patch) | |
| tree | ac7d8efe51b78395d3cc4bb059c0d34102fde8b6 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | drm/i915: Only attempt to scan the requested number of shrinker slabs (diff) | |
| download | kernel-124804c4c4b2e84e956cedd17878562e230a907f.tar.gz kernel-124804c4c4b2e84e956cedd17878562e230a907f.zip | |
drm/i915: Protect WC stash allocation against direct reclaim
As we attempt to allocate pages for use in a new WC stash, direct
reclaim may run underneath us and fill up the WC stash. We have to be
careful then not to overflow the pvec.
Fixes: 66df1014efba ("drm/i915: Keep a small stash of preallocated WC pages")
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103109
Signed-off-by: Chris Wilson <[email protected]>
Cc: Matthew Auld <[email protected]>
Cc: Joonas Lahtinen <[email protected]>
Reviewed-by: Matthew Auld <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 073cd7816685ac77c6d8b4d321a5586c9177b76a)
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
