All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] slightly change shrinker behaviour for very small object sets
@ 2012-12-21 10:46 ` Glauber Costa
  0 siblings, 0 replies; 16+ messages in thread
From: Glauber Costa @ 2012-12-21 10:46 UTC (permalink / raw)
  To: linux-fsdevel-u79uwXL29TY76Z2rM5mHXA
  Cc: linux-mm-Bw31MaZKKs3YtjvyW6yDsg, cgroups-u79uwXL29TY76Z2rM5mHXA,
	Dave Shrinnker, Mel Gorman, Johannes Weiner, Michal Hocko,
	kamezawa.hiroyu-+CUm20s59erQFUHtdCDX3A

Hi,

* v2: fix sysctl_vfs_cache_pressure for all users.

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/gfs2/glock.c        | 2 +-
 fs/gfs2/quota.c        | 2 +-
 fs/mbcache.c           | 2 +-
 fs/nfs/dir.c           | 2 +-
 fs/quota/dquot.c       | 5 ++---
 fs/super.c             | 2 +-
 fs/xfs/xfs_qm.c        | 2 +-
 include/linux/dcache.h | 4 ++++
 mm/vmscan.c            | 4 ++--
 9 files changed, 14 insertions(+), 11 deletions(-)

-- 
1.7.11.7

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

end of thread, other threads:[~2013-01-14 19:58 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-21 10:46 [PATCH v2 0/2] slightly change shrinker behaviour for very small object sets Glauber Costa
2012-12-21 10:46 ` Glauber Costa
2012-12-21 10:46 ` Glauber Costa
2012-12-21 10:46 ` [PATCH v2 1/2] super: fix calculation of shrinkable objects for small numbers Glauber Costa
2012-12-21 10:46   ` Glauber Costa
2012-12-21 11:08   ` Carlos Maiolino
2012-12-21 10:46 ` [PATCH v2 2/2] vmscan: take at least one pass with shrinkers Glauber Costa
2012-12-21 10:46   ` Glauber Costa
2012-12-21 11:10   ` Carlos Maiolino
2012-12-22 23:53   ` Dave Chinner
2012-12-22 23:53     ` Dave Chinner
2012-12-22 23:56     ` Glauber Costa
2012-12-22 23:56       ` Glauber Costa
2012-12-22 23:56       ` Glauber Costa
2013-01-14 19:58 ` [PATCH v2 0/2] slightly change shrinker behaviour for very small object sets Glauber Costa
2013-01-14 19:58   ` Glauber Costa

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.