From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 2 Aug 2016 13:22:50 -0400 From: Johannes Weiner To: Vladimir Davydov Cc: Andrew Morton , stable@vger.kernel.org, Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/3] mm: memcontrol: fix memcg id ref counter on swap charge move Message-ID: <20160802172250.GB6637@cmpxchg.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: owner-linux-mm@kvack.org List-ID: On Tue, Aug 02, 2016 at 06:00:49PM +0300, Vladimir Davydov wrote: > Since commit 73f576c04b941 swap entries do not pin memcg->css.refcnt > directly. Instead, they pin memcg->id.ref. So we should adjust the > reference counters accordingly when moving swap charges between cgroups. > > Fixes: 73f576c04b941 ("mm: memcontrol: fix cgroup creation failure after many small jobs") > Signed-off-by: Vladimir Davydov > Acked-by: Michal Hocko > Cc: [3.19+] Acked-by: Johannes Weiner -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org