[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140206140707.GF20269@dhcp22.suse.cz>
Date: Thu, 6 Feb 2014 15:07:07 +0100
From: Michal Hocko <mhocko@...e.cz>
To: Vladimir Davydov <vdavydov@...allels.com>
Cc: akpm@...ux-foundation.org, rientjes@...gle.com, penberg@...nel.org,
cl@...ux.com, glommer@...il.com, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, devel@...nvz.org
Subject: Re: [PATCH 3/8] memcg, slab: never try to merge memcg caches
On Tue 04-02-14 19:27:19, Vladimir Davydov wrote:
[...]
> What does this patch change? Actually, it introduces no functional
> changes - it only remove the code trying to find an alias for a memcg
> cache, because it will fail anyway. So this is rather a cleanup.
But this also means that two different memcgs might share the same cache
and so the pages for that cache, no? Actually it would depend on timing
because a new page would be chaged for the current allocator.
cachep->memcg_params->memcg == memcg would prevent from such a merge
previously AFAICS, or am I still confused?
--
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists