Skip to content

Context sensitive memory shrinker support

Dave Chinner linux-fsdevel linux-mm linux-xfs lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 15 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2mm: add context argument to shrinker callbackarch/x86/kvm/mmu.c drivers/gpu/drm/i915/i915_gem.c fs/dcache.c +14 more+36 -2715 replies
2/2xfs: add a shrinker to background inode reclaimfs/xfs/linux-2.6/xfs_super.c fs/xfs/linux-2.6/xfs_sync.c fs/xfs/linux-2.6/xfs_sync.h +3 more+75 -90 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchKOSAKI Motohiro
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] Context sensitive memory shrinker support

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 [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>