linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Context sensitive memory shrinker support
@ 2010-04-13  0:24 Dave Chinner
  2010-04-13  0:24 ` [PATCH 1/2] mm: add context argument to shrinker callback Dave Chinner
  2010-04-13  0:24 ` [PATCH 2/2] xfs: add a shrinker to background inode reclaim Dave Chinner
  0 siblings, 2 replies; 18+ messages in thread
From: Dave Chinner @ 2010-04-13  0:24 UTC (permalink / raw)
  To: linux-kernel; +Cc: linux-mm, linux-fsdevel, xfs

Recently I made the XFS inode reclaim operate entirely in the background for
both clean and dirty inodes as it simplified the code a lot and is somewhat
more efficient. Unfortunately, there are some workloads where the
background reclaim is not freeing memory fast enough, so the reclaim needs an
extra push when memory is low.

The inode caches are per-filesystem on XFS, so to make effective use of the
shrinker callbacks when memory is low, we need a context to be passed through
the shrinker to give us the filesystem context to run the reclaim from. The
two patches introduce the shrinker context and implement the XFS inode reclaim
shrinkers.


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

end of thread, other threads:[~2010-04-28 13:45 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-13  0:24 [PATCH 0/2] Context sensitive memory shrinker support Dave Chinner
2010-04-13  0:24 ` [PATCH 1/2] mm: add context argument to shrinker callback Dave Chinner
2010-04-13  8:17   ` KOSAKI Motohiro
2010-04-18  0:15   ` Christoph Hellwig
2010-04-19 14:00     ` Nick Piggin
2010-04-20  0:41       ` Dave Chinner
2010-04-20  8:38         ` Nick Piggin
2010-04-20 10:32           ` Dave Chinner
2010-04-21  8:40             ` Nick Piggin
2010-04-22 16:32               ` Christoph Hellwig
2010-04-22 16:38                 ` Nick Piggin
2010-04-22 16:42                   ` Christoph Hellwig
2010-04-22 16:57                     ` Nick Piggin
2010-04-23  1:58                     ` Dave Chinner
2010-04-28  3:38                   ` Dave Chinner
2010-04-28  9:39   ` Avi Kivity
2010-04-28 13:45     ` Dave Chinner
2010-04-13  0:24 ` [PATCH 2/2] xfs: add a shrinker to background inode reclaim 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).