Re: [BUGFIX][PATCH] memcg: fix wrong decision of noswap withsoftlimit.

From: KAMEZAWA Hiroyuki
Date: Sun Jun 12 2011 - 21:31:18 EST


On Sun, 12 Jun 2011 13:22:28 +0200
Michal Hocko <mhocko@xxxxxxx> wrote:

> Hierarchical reclaim doesn't swap out if memsw and resource limits are
> same (memsw_is_minimum == true) because we would hit mem+swap limit
> anyway (during hard limit reclaim).
> If it comes to the solft limit we shouldn't consider memsw_is_minimum at
> all because it doesn't make much sense. Either the soft limit is bellow
> the hard limit and then we cannot hit mem+swap limit or the direct
> reclaim takes a precedence.

Thank you. I'd like to use your description.

I'll post last week bug fixes series, today.

Thanks,
-Kame

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/