Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_PASS,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 26B66C43387 for ; Tue, 15 Jan 2019 17:40:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DE41C20656 for ; Tue, 15 Jan 2019 17:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1547574040; bh=ZbfM4AkqnpxPo4wz2grmgpy+Yn67uCzYOEoQGh5ggNY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=kNvl6aJ6nfRWq002xleaVXa4l7Kuq+dm4s4rv3fsBmC505Qu3dmKvJgJPK5WiFkZU AQaznzfnTwIaWI3XlnnB7HDseKOJVty2M03sKLFM7UwPZQQaSs307hUt0GCj/DMoP3 EMZhh4kIqnfGhWMVP5u5cKMgDMtDUzw7uF3GewJc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732832AbfAORkj (ORCPT ); Tue, 15 Jan 2019 12:40:39 -0500 Received: from mx2.suse.de ([195.135.220.15]:55876 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1729035AbfAORkj (ORCPT ); Tue, 15 Jan 2019 12:40:39 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 05B9EAD56; Tue, 15 Jan 2019 17:40:37 +0000 (UTC) Date: Tue, 15 Jan 2019 18:40:36 +0100 From: Michal Hocko To: Greg KH Cc: akpm@linux-foundation.org, bo.liu@linux.alibaba.com, david@fromorbit.com, hannes@cmpxchg.org, jack@suse.cz, kirill.shutemov@linux.intel.com, shakeelb@google.com, stable@vger.kernel.org, torvalds@linux-foundation.org, tytso@mit.edu, vdavydov.dev@gmail.com Subject: Re: FAILED: patch "[PATCH] mm, memcg: fix reclaim deadlock with writeback" failed to apply to 4.4-stable tree Message-ID: <20190115174036.GA24149@dhcp22.suse.cz> References: <154747783690179@kroah.com> <20190115153444.GD7283@dhcp22.suse.cz> <20190115155131.GA17724@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190115155131.GA17724@kroah.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue 15-01-19 16:51:31, Greg KH wrote: > On Tue, Jan 15, 2019 at 04:34:44PM +0100, Michal Hocko wrote: > > I do not see a straightforward backport of this patch without pulling > > more changes in. Do we have anybody to actually hit the issue on those > > older kernels? While the issue is possible in principle I do not > > remember anybody complaining. > > If no one is complaining, that's fine, you just got this message because > you put this in the commit: > > > > Fixes: c3b94f44fcb0 ("memcg: further prevent OOM with too many dirty pages") > > Which means any kernel newer than 4.2 (and some older stable releases) > has the issue that this patch is trying to fix. If it doesn't need to > be backported that far, wonderful! After a second thought, we are not really affected all the way down to c3b94f44fcb0. We do account page tables to memcgs only since 3e79ec7ddc33 ("arch: x86: charge page tables to kmemcg") 4.8+. Without that there is no realy memcg reclaim and thus not wait_on_page_writeback. So my Fixes is a bit misleading. Sorry about that. -- Michal Hocko SUSE Labs