Re: [rfc patch 1/6] memcg: remove unused retry signal from reclaim

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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:
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: Rik van Riel<riel@xxxxxxxxxx>

Acked-by: Ying Han<yinghan@xxxxxxxxxx


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]