From: Johannes Weiner Date: Thu, 26 May 2011 23:25:35 +0000 (-0700) Subject: memcg: remove unused retry signal from reclaim X-Git-Tag: v3.0-rc1~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fd14ebf6e3b66423dfac2bc9defda7b83ee07b3;p=pandora-kernel.git 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 Acked-by: Rik van Riel Acked-by: Ying Han Acked-by: KAMEZAWA Hiroyuki Reviewed-by: Michal Hocko Cc: Balbir Singh Cc: KOSAKI Motohiro Cc: Mel Gorman Cc: Daisuke Nishimura Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed