On Thu, May 12, 2011 at 8:02 AM, Rik van Riel <riel@xxxxxxxxxx> wrote:
On 05/12/2011 10:53 AM, Johannes Weiner wrote:Acked-by: Rik van Riel<riel@xxxxxxxxxx>
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<hannes@xxxxxxxxxxx>
Acked-by: Ying Han<yinghan@xxxxxxxxxx>