linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] slightly change shrinker behaviour for very small object sets
@ 2012-12-19  8:40 Glauber Costa
  2012-12-19  8:40 ` [PATCH 1/2] super: fix calculation of shrinkable objects for small numbers Glauber Costa
  2012-12-19  8:40 ` [PATCH 2/2] vmscan: take at least one pass with shrinkers Glauber Costa
  0 siblings, 2 replies; 6+ messages in thread
From: Glauber Costa @ 2012-12-19  8:40 UTC (permalink / raw)
  To: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-mm-Bw31MaZKKs3YtjvyW6yDsg, cgroups-u79uwXL29TY76Z2rM5mHXA,
	Dave Shrinnker, Johannes Weiner, Michal Hocko,
	kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A, Tejun Heo

Hi,

I've recently noticed some glitches in the object shrinker mechanism when a
very small number of objects is used. Those situations are theoretically
possible, albeit unlikely. But although it may feel like it is purely
theoretical, they can become common in environments with many small containers
(cgroups) in a box.

Those patches came from some experimentation I am doing with targetted-shrinking
for kmem-limited memory cgroups (Dave Shrinnker is already aware of such work).
In such scenarios, one can set the available memory to very low limits, and it
becomes easy to see this.

Glauber Costa (2):
  super: fix calculation of shrinkable objects for small numbers
  vmscan: take at least one pass with shrinkers

 fs/super.c  | 2 +-
 mm/vmscan.c | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

-- 
1.7.11.7

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

end of thread, other threads:[~2012-12-20 10:59 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19  8:40 [PATCH 0/2] slightly change shrinker behaviour for very small object sets Glauber Costa
2012-12-19  8:40 ` [PATCH 1/2] super: fix calculation of shrinkable objects for small numbers Glauber Costa
     [not found]   ` <1355906418-3603-2-git-send-email-glommer-bzQdu9zFT3WakBO8gow8eQ@public.gmane.org>
2012-12-20  7:06     ` Dave Chinner
2012-12-20 10:59       ` Glauber Costa
2012-12-19  8:40 ` [PATCH 2/2] vmscan: take at least one pass with shrinkers Glauber Costa
2012-12-20  7:08   ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).