Re: [PATCH] mm: memcontrol: do not recurse in direct reclaim

From: Johannes Weiner
Date: Tue Oct 25 2016 - 10:11:21 EST


On Tue, Oct 25, 2016 at 11:07:47AM +0200, Michal Hocko wrote:
> Acked-by: Michal Hocko <mhocko@xxxxxxxx>

Thank you.

> I would prefer to have the PF_MEMALLOC condition in a check on its own
> with a short explanation that we really do not want to recurse to the
> reclaim due to stack overflows.

Okay, fair enough. I also added why we prefer temporarily breaching
the limit over failing the allocation. How is this?