On Thu, Oct 29, 2020 at 06:44:57PM +0800, Alex Shi wrote:
> A isolated page shouldn't be recharged by memcg since the memcg
> migration isn't possible at the time.
> So remove unnecessary regetting.
> 
> Thanks to Alexander Duyck for pointing this out.
> 
> Signed-off-by: Alex Shi <alex....@linux.alibaba.com>
> Acked-by: Hugh Dickins <hu...@google.com>
> Cc: Alexander Duyck <alexander.h.du...@linux.intel.com>
> Cc: Andrew Morton <a...@linux-foundation.org>
> Cc: Konstantin Khlebnikov <khlebni...@yandex-team.ru>
> Cc: Michal Hocko <mho...@kernel.org>
> Cc: Hugh Dickins <hu...@google.com>
> Cc: Johannes Weiner <han...@cmpxchg.org>
> Cc: linux...@kvack.org
> Cc: linux-kernel@vger.kernel.org
> Cc: cgro...@vger.kernel.org

Acked-by: Johannes Weiner <han...@cmpxchg.org>

A brief comment in the code could be good: all pages were isolated
from the same lruvec (and isolation inhibits memcg migration).

Reply via email to