vmscan: change shrink_slab() interfaces by passing shrink_control
authorYing Han <[email protected]>
Wed, 25 May 2011 00:12:26 +0000 (17:12 -0700)
committerLinus Torvalds <[email protected]>
Wed, 25 May 2011 15:39:25 +0000 (08:39 -0700)
commita09ed5e00084448453c8bada4dcd31e5fbfc2f21
tree493f5f2a93efb080cdcc28e793cbcfc7999e66eb
parent7b1de5868b124d8f399d8791ed30a9b679d64d4d
vmscan: change shrink_slab() interfaces by passing shrink_control

Consolidate the existing parameters to shrink_slab() into a new
shrink_control struct.  This is needed later to pass the same struct to
shrinkers.

Signed-off-by: Ying Han <[email protected]>
Cc: KOSAKI Motohiro <[email protected]>
Cc: Minchan Kim <[email protected]>
Acked-by: Pavel Emelyanov <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Mel Gorman <[email protected]>
Acked-by: Rik van Riel <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Dave Hansen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
fs/drop_caches.c
include/linux/mm.h
mm/memory-failure.c
mm/vmscan.c