All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] shmem, drm/i915: Mark pinned shmemfs pages as unevictable
@ 2018-10-16 17:42 ` Kuo-Hsin Yang
  0 siblings, 0 replies; 19+ messages in thread
From: Kuo-Hsin Yang @ 2018-10-16 17:42 UTC (permalink / raw)
  To: linux-kernel, intel-gfx, linux-mm
  Cc: mhocko, akpm, chris, peterz, dave.hansen, corbet, hughd,
	joonas.lahtinen, marcheu, hoegsberg, Kuo-Hsin Yang

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


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2018-10-18  8:16 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-16 17:42 [PATCH 0/2] shmem, drm/i915: Mark pinned shmemfs pages as unevictable Kuo-Hsin Yang
2018-10-16 17:42 ` Kuo-Hsin Yang
2018-10-16 17:42 ` [PATCH 1/2] shmem: export shmem_unlock_mapping Kuo-Hsin Yang
2018-10-16 17:42   ` Kuo-Hsin Yang
2018-10-16 17:43 ` [PATCH 2/2] drm/i915: Mark pinned shmemfs pages as unevictable Kuo-Hsin Yang
2018-10-16 17:43   ` Kuo-Hsin Yang
2018-10-16 18:21   ` Michal Hocko
2018-10-16 18:21     ` Michal Hocko
2018-10-16 18:31     ` Chris Wilson
2018-10-16 18:31       ` Chris Wilson
2018-10-16 19:13       ` Michal Hocko
2018-10-18  6:56       ` Chris Wilson
2018-10-18  6:56         ` Chris Wilson
2018-10-18  8:15         ` Michal Hocko
2018-10-18  8:15           ` Michal Hocko
2018-10-16 18:27 ` ✓ Fi.CI.BAT: success for shmem, " Patchwork
2018-10-16 22:07 ` ✓ Fi.CI.IGT: " Patchwork
2018-10-17  8:58 ` [PATCH v2] shmem, drm/i915: mark " Kuo-Hsin Yang
2018-10-17  8:58   ` Kuo-Hsin Yang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.