Messages in this thread | | | Date | Fri, 6 Apr 2018 12:38:02 -0400 | From | Johannes Weiner <> | Subject | Re: [PATCH v3 3/4] mm: treat memory.low value inclusive |
| |
On Fri, Apr 06, 2018 at 01:21:38PM +0100, Roman Gushchin wrote: > Updated version below. > > -- > > From 466c35c36cae392cfee5e54a2884792972e789ee Mon Sep 17 00:00:00 2001 > From: Roman Gushchin <guro@fb.com> > Date: Thu, 5 Apr 2018 19:31:35 +0100 > Subject: [PATCH v4 3/4] mm: treat memory.low value inclusive > > If memcg's usage is equal to the memory.low value, avoid reclaiming > from this cgroup while there is a surplus of reclaimable memory. > > This sounds more logical and also matches memory.high and memory.max > behavior: both are inclusive. > > Empty cgroups are not considered protected, so MEMCG_LOW events > are not emitted for empty cgroups, if there is no more reclaimable > memory in the system. > > Signed-off-by: Roman Gushchin <guro@fb.com> > Cc: Andrew Morton <akpm@linux-foundation.org> > Cc: Johannes Weiner <hannes@cmpxchg.org> > Cc: Michal Hocko <mhocko@kernel.org> > Cc: Vladimir Davydov <vdavydov.dev@gmail.com> > Cc: Tejun Heo <tj@kernel.org> > Cc: kernel-team@fb.com > Cc: linux-mm@kvack.org > Cc: cgroups@vger.kernel.org > Cc: linux-kernel@vger.kernel.org
Looks good, thanks!
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
| |