vmscan: change shrinker API by passing shrink_control struct
Change each shrinker's API by consolidating the existing parameters into shrink_control struct. This will simplify any further features added w/o touching each file of shrinker. [akpm@linux-foundation.org: fix build] [akpm@linux-foundation.org: fix warning] [kosaki.motohiro@jp.fujitsu.com: fix up new shrinker API] [akpm@linux-foundation.org: fix xfs warning] [akpm@linux-foundation.org: update gfs2] Signed-off-by:Ying Han <yinghan@google.com> Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com> Cc: Minchan Kim <minchan.kim@gmail.com> Acked-by:
Pavel Emelyanov <xemul@openvz.org> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Mel Gorman <mel@csn.ul.ie> Acked-by:
Rik van Riel <riel@redhat.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Hugh Dickins <hughd@google.com> Cc: Dave Hansen <dave@linux.vnet.ibm.com> Cc: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Signed-off-by:
Linus Torvalds <torvalds@linux-foundation.org>
Showing
- arch/x86/kvm/mmu.c 2 additions, 1 deletionarch/x86/kvm/mmu.c
- drivers/gpu/drm/i915/i915_gem.c 3 additions, 6 deletionsdrivers/gpu/drm/i915/i915_gem.c
- drivers/gpu/drm/ttm/ttm_page_alloc.c 3 additions, 1 deletiondrivers/gpu/drm/ttm/ttm_page_alloc.c
- drivers/staging/zcache/zcache.c 4 additions, 1 deletiondrivers/staging/zcache/zcache.c
- fs/dcache.c 6 additions, 2 deletionsfs/dcache.c
- fs/drop_caches.c 1 addition, 2 deletionsfs/drop_caches.c
- fs/gfs2/glock.c 4 additions, 1 deletionfs/gfs2/glock.c
- fs/gfs2/quota.c 7 additions, 5 deletionsfs/gfs2/quota.c
- fs/gfs2/quota.h 3 additions, 1 deletionfs/gfs2/quota.h
- fs/inode.c 5 additions, 1 deletionfs/inode.c
- fs/mbcache.c 6 additions, 4 deletionsfs/mbcache.c
- fs/nfs/dir.c 4 additions, 1 deletionfs/nfs/dir.c
- fs/nfs/internal.h 1 addition, 1 deletionfs/nfs/internal.h
- fs/quota/dquot.c 4 additions, 1 deletionfs/quota/dquot.c
- fs/xfs/linux-2.6/xfs_buf.c 2 additions, 2 deletionsfs/xfs/linux-2.6/xfs_buf.c
- fs/xfs/linux-2.6/xfs_sync.c 3 additions, 2 deletionsfs/xfs/linux-2.6/xfs_sync.c
- fs/xfs/quota/xfs_qm.c 3 additions, 3 deletionsfs/xfs/quota/xfs_qm.c
- include/linux/mm.h 11 additions, 8 deletionsinclude/linux/mm.h
- mm/memory-failure.c 1 addition, 2 deletionsmm/memory-failure.c
- mm/vmscan.c 19 additions, 15 deletionsmm/vmscan.c
Loading
Please register or sign in to comment