This patch changes the shrink_slab and shrinker APIs by consolidating existing parameters into shrink_control struct. This simplifies any further attempts to pass extra info to the shrinker. Instead of modifying all the shrinker files each time, we just need to extend the shrink_control struct. This patch is based on mmotm-2011-03-31-14-48. Ying Han (2): change the shrink_slab by passing shrink_control change shrinker API by passing shrink_control struct arch/x86/kvm/mmu.c | 3 +- drivers/gpu/drm/i915/i915_gem.c | 5 +-- drivers/gpu/drm/ttm/ttm_page_alloc.c | 4 ++- drivers/staging/zcache/zcache.c | 5 +++- fs/dcache.c | 8 +++++- fs/drop_caches.c | 6 ++++- fs/gfs2/glock.c | 5 +++- fs/inode.c | 6 ++++- fs/mbcache.c | 10 +++++--- fs/nfs/dir.c | 5 +++- fs/nfs/internal.h | 2 +- fs/quota/dquot.c | 5 +++- fs/xfs/linux-2.6/xfs_buf.c | 4 +- fs/xfs/linux-2.6/xfs_sync.c | 5 ++- fs/xfs/quota/xfs_qm.c | 7 +++-- include/linux/mm.h | 28 ++++++++++++++++------ mm/vmscan.c | 41 ++++++++++++++++++++++++---------- net/sunrpc/auth.c | 4 ++- 18 files changed, 107 insertions(+), 46 deletions(-) -- 1.7.3.1 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>