aboutsummaryrefslogtreecommitdiff
path: root/fs/buffer.c
diff options
context:
space:
mode:
authorJohannes Weiner <[email protected]>2011-05-26 16:25:35 -0700
committerLinus Torvalds <[email protected]>2011-05-26 17:12:35 -0700
commit4fd14ebf6e3b66423dfac2bc9defda7b83ee07b3 (patch)
tree38fb451bf2e480091bf88540139378b68cdd2494 /fs/buffer.c
parent246e87a9393448c20873bc5dee64be68ed559e24 (diff)
memcg: remove unused retry signal from reclaim
If the memcg reclaim code detects the target memcg below its limit it exits and returns a guaranteed non-zero value so that the charge is retried. Nowadays, the charge side checks the memcg limit itself and does not rely on this non-zero return value trick. This patch removes it. The reclaim code will now always return the true number of pages it reclaimed on its own. Signed-off-by: Johannes Weiner <[email protected]> Acked-by: Rik van Riel<[email protected]> Acked-by: Ying Han<[email protected]> Acked-by: KAMEZAWA Hiroyuki <[email protected]> Reviewed-by: Michal Hocko <[email protected]> Cc: Balbir Singh <[email protected]> Cc: KOSAKI Motohiro <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Daisuke Nishimura <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'fs/buffer.c')
0 files changed, 0 insertions, 0 deletions