Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* Shrinker improvements
@ 2014-03-05 11:44 Chris Wilson
  2014-03-05 11:44 ` [PATCH 1/5] shmemfs: Report ENOMEM for page allocation failures outside of tmpfs faults Chris Wilson
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Chris Wilson @ 2014-03-05 11:44 UTC (permalink / raw)
  To: intel-gfx

Recent-ish changes to the core shrinker have made the code more prone to
hit OOM, and worse do so without even touching swap. My hypothesis is
that this is a balancing issue between shrinking the VM lists and the
slabs, such that writeback of our objects is not performed starving the
system of pages. Patch 5/5 introduces manual writeback handling for our
shrinker, but afaict it should be unnecessary. Nevertheless, I think it
will come in useful.

I am having difficulty in getting results from QA, but so far these have
improved mempressure handling on my machines.
-Chris

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

end of thread, other threads:[~2014-03-11 10:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-05 11:44 Shrinker improvements Chris Wilson
2014-03-05 11:44 ` [PATCH 1/5] shmemfs: Report ENOMEM for page allocation failures outside of tmpfs faults Chris Wilson
2014-03-06  3:14   ` Hugh Dickins
2014-03-06  9:05     ` Chris Wilson
2014-03-11 10:09       ` Hugh Dickins
2014-03-05 11:44 ` [PATCH 2/5] shmemfs: Use redirty_page_for_writepage() Chris Wilson
2014-03-06  4:06   ` Hugh Dickins
2014-03-06  8:57     ` Chris Wilson
2014-03-05 11:44 ` [PATCH 3/5] drm/i915: Include bound and active pages in the count of shrinkable objects Chris Wilson
2014-03-05 11:44 ` [PATCH 4/5] drm/i915: Refactor common lock handling between shrinker count/scan Chris Wilson
2014-03-05 11:44 ` [PATCH 5/5] drm/i915: Writeback our pages under memory pressure Chris Wilson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox