]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[XFS] On-demand reaping of the MRU cache
authorDavid Chinner <dgc@sgi.com>
Thu, 16 Aug 2007 05:21:11 +0000 (15:21 +1000)
committerTim Shimmin <tes@chook.melbourne.sgi.com>
Mon, 17 Sep 2007 06:42:02 +0000 (16:42 +1000)
commit65de5567564e70edd01b6d4e95e548d7ba284872
tree977aef83761c4ef87d95f1e192bc1ae9c7cbdeac
parentc2f828977ba5d17c13debba374ea252d18e5ccfb
[XFS] On-demand reaping of the MRU cache

Instead of running the mru cache reaper all the time based on a timeout,
we should only run it when the cache has active objects. This allows CPUs
to sleep when there is no activity rather than be woken repeatedly just to
check if there is anything to do.

SGI-PV: 968554
SGI-Modid: xfs-linux-melb:xfs-kern:29305a

Signed-off-by: David Chinner <dgc@sgi.com>
Signed-off-by: Donald Douwsma <donaldd@sgi.com>
Signed-off-by: Tim Shimmin <tes@sgi.com>
fs/xfs/xfs_filestream.c
fs/xfs/xfs_mru_cache.c
fs/xfs/xfs_mru_cache.h