From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f200.google.com (mail-wr0-f200.google.com [209.85.128.200]) by kanga.kvack.org (Postfix) with ESMTP id B45076B0033 for ; Wed, 29 Nov 2017 05:17:26 -0500 (EST) Received: by mail-wr0-f200.google.com with SMTP id j4so1682600wrg.15 for ; Wed, 29 Nov 2017 02:17:26 -0800 (PST) Received: from gum.cmpxchg.org (gum.cmpxchg.org. [85.214.110.215]) by mx.google.com with ESMTPS id m25si1623964edm.209.2017.11.29.02.17.25 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Nov 2017 02:17:25 -0800 (PST) Date: Wed, 29 Nov 2017 10:17:13 +0000 From: Johannes Weiner Subject: Re: [PATCH] mm, memcg: fix mem_cgroup_swapout() for THPs Message-ID: <20171129101713.GA28244@cmpxchg.org> References: <20171128161941.20931-1-shakeelb@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20171128161941.20931-1-shakeelb@google.com> Sender: owner-linux-mm@kvack.org List-ID: To: Shakeel Butt Cc: Huang Ying , Vladimir Davydov , Michal Hocko , Greg Thelen , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, cgroups@vger.kernel.org, stable@vger.kernel.org On Tue, Nov 28, 2017 at 08:19:41AM -0800, Shakeel Butt wrote: > The commit d6810d730022 ("memcg, THP, swap: make mem_cgroup_swapout() > support THP") changed mem_cgroup_swapout() to support transparent huge > page (THP). However the patch missed one location which should be > changed for correctly handling THPs. The resulting bug will cause the > memory cgroups whose THPs were swapped out to become zombies on > deletion. > > Fixes: d6810d730022 ("memcg, THP, swap: make mem_cgroup_swapout() support THP") > Signed-off-by: Shakeel Butt > Cc: stable@vger.kernel.org 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