User: Password:
|
|
Subscribe / Log in / New account

Context sensitive memory shrinker support

From:  Dave Chinner <david@fromorbit.com>
To:  linux-kernel@vger.kernel.org
Subject:  [PATCH 0/2] Context sensitive memory shrinker support
Date:  Tue, 13 Apr 2010 10:24:13 +1000
Cc:  linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com
Archive-link:  Article, Thread

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.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>



Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds