Received: by 10.223.164.202 with SMTP id h10csp4183783wrb; Wed, 29 Nov 2017 02:18:25 -0800 (PST) X-Google-Smtp-Source: AGs4zMbALhDoKD25Kgrqgq7rwTHB+vEHoQHXUNaEYl/FDBRhsKqZ+ENvlNCAyO0FW3mIgc0ozCZI X-Received: by 10.98.198.73 with SMTP id m70mr2475904pfg.92.1511950705491; Wed, 29 Nov 2017 02:18:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511950705; cv=none; d=google.com; s=arc-20160816; b=oDgSII6n/Od4wutlZWjCiFj9HRI8CFFedFiTNdbrXvv3AcKQrj67oQlga6kOi2L9fd L8ZNRwQ/Gnm/dX5tN46fCWjYe3d1qsXI7s2P51zFPxGIiqjC3lVqfXkFaD3DOgBmoMZ7 EUyOr6l1rJ0TfMG8WY8mW5Vp9cbwatX8Y65Vt0+bUBPP0Ds3DqnTlzk6BjUfBRwdChFP VQvMS6uNDZFZVbd7m7AIJ9WvNuXs4Glt7/qbv8esSZ8mDlBnLIWdjDj9qGTBIt/xWNSl l6t08tlx+5F38uPCCz7aHoS806JnuHBqcC+tqdafDaTlPFMlqvVObwHpTpkJ02mWztPA ASqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=v3mEICMWWdxZdhxMQP8wumpnws5IR+m7a4JlgcSTCnQ=; b=KQ7IQkyQ7saMFknspJVfHHElENL6QoVs8A1rmeQNvwEj5+1ZGhBkEWXRL518crX+A2 dq2xawG0UV4zr/70YuytFKwGtlTJFSP6VcU1iv2adaFThj4JEWvFcHg8Immr1uc1lYgS QRGa7HfWYnLpkxa997moqEsCkNevaHZPr+gTPKYcH9pwL0BflcQz0kNhW6ozGEQD5h0L vYkj5vf2YAk5ZuOKw5ECcPjxRnkMhbdNBVzSx4I/bUFtm1LMMCx0tr5IBF2AxHtPujXF uZncc91Gl3YjYjoIq0mFsNykIUrVpcrhpcvBKhcLX9z52wNA5TZE+PGFsDNxUcMuonNy xWXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=2p0aMEAH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v186si1116406pfb.134.2017.11.29.02.18.15; Wed, 29 Nov 2017 02:18:25 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@cmpxchg.org header.s=x header.b=2p0aMEAH; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=cmpxchg.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932278AbdK2KRb (ORCPT + 70 others); Wed, 29 Nov 2017 05:17:31 -0500 Received: from gum.cmpxchg.org ([85.214.110.215]:51732 "EHLO gum.cmpxchg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754233AbdK2KR1 (ORCPT ); Wed, 29 Nov 2017 05:17:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cmpxchg.org ; s=x; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject: Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=v3mEICMWWdxZdhxMQP8wumpnws5IR+m7a4JlgcSTCnQ=; b=2p0aMEAH8gTQw5XN5jr+lHKCeY x/gv6cHa/d0phhfKzBd/Gwz7+E+/zHWjMD/pGMXIk81rEyvw/SuqgGW2iXTva76fx7M8/ouUx3k6J M1W6UqHIsKBBw4UXPUs8wz3t+6PcBSbmzGRbcViIba2uyoZ5CYBJMQPFP4zrx38ocZOw=; Date: Wed, 29 Nov 2017 10:17:13 +0000 From: Johannes Weiner 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 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> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 From 1585358769395836202@xxx Wed Nov 29 00:39:00 +0000 2017 X-GM-THRID: 1585327501541771504 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread