[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20181016174300.197906-1-vovoy@chromium.org>
Date: Wed, 17 Oct 2018 01:42:58 +0800
From: Kuo-Hsin Yang <vovoy@...omium.org>
To: linux-kernel@...r.kernel.org, intel-gfx@...ts.freedesktop.org,
linux-mm@...ck.org
Cc: mhocko@...e.com, akpm@...ux-foundation.org,
chris@...is-wilson.co.uk, peterz@...radead.org,
dave.hansen@...el.com, corbet@....net, hughd@...gle.com,
joonas.lahtinen@...ux.intel.com, marcheu@...omium.org,
hoegsberg@...omium.org, Kuo-Hsin Yang <vovoy@...omium.org>
Subject: [PATCH 0/2] shmem, drm/i915: Mark pinned shmemfs pages as unevictable
When a graphics heavy application is running, i915 driver may pin a lot
of shmemfs pages and vmscan slows down significantly by scanning these
pinned pages. This patch is an alternative to the patch by Chris Wilson
[1]. As i915 driver pins all pages in an address space, marking an
address space as unevictable is sufficient to solve this issue.
[1]: https://patchwork.kernel.org/patch/9768741/
Kuo-Hsin Yang (2):
shmem: export shmem_unlock_mapping
drm/i915: Mark pinned shmemfs pages as unevictable
Documentation/vm/unevictable-lru.rst | 4 +++-
drivers/gpu/drm/i915/i915_gem.c | 8 ++++++++
mm/shmem.c | 2 ++
3 files changed, 13 insertions(+), 1 deletion(-)
--
2.19.1.331.ge82ca0e54c-goog
Powered by blists - more mailing lists