Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp571335ybm; Thu, 28 May 2020 09:42:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyBZ5IKRX+27eU3Q7Rgx/DomkPC7xVg9gHZ62j773XYbq1uL9eyRWhTvboV9V3hHxNFyN/h X-Received: by 2002:a05:6402:1216:: with SMTP id c22mr4242003edw.208.1590684145041; Thu, 28 May 2020 09:42:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590684145; cv=none; d=google.com; s=arc-20160816; b=UgFlO16MJT/drozlpzSpAIXJo4h5qdQx7iXZqVTUT7RnefNxJNrS+PZLV7FQ76XWNv 9FfwTgF9NGZhs2fTlDEzMBIzltMwscdSic/Kjsv5rWwVyOYE+FoecdrnZpWzcUBJxZ5W LSbdwaPeDyirXd+3o7EYoutRPI7gDj6NhHlMkGuraKPHEXCgI/ZU+x3Czds/sUtEWqi9 ePxXgimyHk6fkOBFzlKppzXHwsay2igjgQ+8srscHPc0OF+1w+GiOJ5A8HNHhQG/lcLc 99Edx7uTsP7n/Cj9PNHkSo/Z5boXu+xD64eDaLnNkuLULEKD6XYBfIjEB+S43UWXksgC 4Fyg== 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; bh=Pvf7qBFEHIiAL/UpG9xM7Gf8VhxhCVBHlvWj3inRLaM=; b=UROFKkqlaw/BvRylK9LjrGGbk4r1aICky0oRSHPfAodjOATrP4ijDn+6YcH+QOnZnr Ewxr8jw2P7f8MfFONJwKoavA3CK6Mo+F4V4jZF1XooStAWQfqlGYgEgqnYLO10mGc5Ju A1566tbQFz4Rofks3em4PI2+Uf32drLSMwP/BePagfpPxM95PMeq3nicn0E6dmwNZwrI CNsdJy+WFtEzJHVtF3YOCC5dVbhOjAi+1uLZ9TtsxNETUC0ma+gq5BkAorH6EmLX9BMg JiiOxDOX+uDlvSuIXB8WcEhLMHFw47YO5E6oH4aRPPIfvK2Qr3DBZ0o3MCBJzuux140k KRhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b="dZ/4oQHk"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e12si3974314edy.210.2020.05.28.09.41.53; Thu, 28 May 2020 09:42:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chrisdown.name header.s=google header.b="dZ/4oQHk"; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chrisdown.name Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405083AbgE1Qlw (ORCPT + 99 others); Thu, 28 May 2020 12:41:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2405042AbgE1Qlu (ORCPT ); Thu, 28 May 2020 12:41:50 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9618CC08C5C8 for ; Thu, 28 May 2020 09:41:50 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id q11so16609375wrp.3 for ; Thu, 28 May 2020 09:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chrisdown.name; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Pvf7qBFEHIiAL/UpG9xM7Gf8VhxhCVBHlvWj3inRLaM=; b=dZ/4oQHkI3iFVl6Q4XDatBaCWT8WDKIy43ty6iL5UZV9y8w2Mwc2zwtaHwr00vostz c8tS4BvevPCZZt4NdTss07rL4pzKusdIZLJ1Zm9Z3FuwwbTD2hfas29vKN5+7iQ8CBt4 fMhXjwXce9iKSnXnt3Jr4qQvtVDCYiR2OFQFw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Pvf7qBFEHIiAL/UpG9xM7Gf8VhxhCVBHlvWj3inRLaM=; b=eop1nG75TWIXpzb9qqP7bRg3OeHXQi057Esablj8ma9o0AWMKmHJhCnzQO/ftnR+RL tb/yST0j99hwO/Yf7mkkN1RaldiX9IRPnx/CCr2F+lYuvEyBIkKCE1wpoDfw0wLxgkMk BSljowOnUV1zqb2FWL5CQLCMjT2SaR8ZmnYT0HJFHIdu4oJ4u5LVbVoa96MJMuyCXlIB QmYo6MEZe1v37Sx8uolZhx4Aum3iLQtWd5Fcs7UMvywN7veOje3NDO9eaPko8Zmq/tz8 5XOr7UPoVM09Ymj6aEyi/8jVe+3GzijwKfTWDDbIIuxKSjxSg10CHis9mVkDYSe2qrtg 3oJg== X-Gm-Message-State: AOAM530J++vAq3jPd8ffnb5hr+fSKsuq81LGxx6X7NGW3L3xELHpPYtD fJLPGZIDJ6LHWzt0XGmJwvQWog== X-Received: by 2002:adf:ff82:: with SMTP id j2mr4130619wrr.375.1590684083033; Thu, 28 May 2020 09:41:23 -0700 (PDT) Received: from localhost ([2620:10d:c093:400::5:d125]) by smtp.gmail.com with ESMTPSA id y66sm6698899wmy.24.2020.05.28.09.41.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 May 2020 09:41:22 -0700 (PDT) Date: Thu, 28 May 2020 17:41:21 +0100 From: Chris Down To: Naresh Kamboju Cc: Michal Hocko , Yafang Shao , Anders Roxell , "Linux F2FS DEV, Mailing List" , linux-ext4 , linux-block , Andrew Morton , open list , Linux-Next Mailing List , linux-mm , Arnd Bergmann , Andreas Dilger , Jaegeuk Kim , Theodore Ts'o , Chao Yu , Hugh Dickins , Andrea Arcangeli , Matthew Wilcox , Chao Yu , lkft-triage@lists.linaro.org, Johannes Weiner , Roman Gushchin , Cgroups Subject: Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page Message-ID: <20200528164121.GA839178@chrisdown.name> References: <20200519084535.GG32497@dhcp22.suse.cz> <20200520190906.GA558281@chrisdown.name> <20200521095515.GK6462@dhcp22.suse.cz> <20200521163450.GV6462@dhcp22.suse.cz> <20200528150310.GG27484@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.14.2 (2020-05-25) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org Naresh Kamboju writes: >On Thu, 28 May 2020 at 20:33, Michal Hocko wrote: >> >> On Fri 22-05-20 02:23:09, Naresh Kamboju wrote: >> > My apology ! >> > As per the test results history this problem started happening from >> > Bad : next-20200430 (still reproducible on next-20200519) >> > Good : next-20200429 >> > >> > The git tree / tag used for testing is from linux next-20200430 tag and reverted >> > following three patches and oom-killer problem fixed. >> > >> > Revert "mm, memcg: avoid stale protection values when cgroup is above >> > protection" >> > Revert "mm, memcg: decouple e{low,min} state mutations from protectinn checks" >> > Revert "mm-memcg-decouple-elowmin-state-mutations-from-protection-checks-fix" >> >> The discussion has fragmented and I got lost TBH. >> In http://lkml.kernel.org/r/CA+G9fYuDWGZx50UpD+WcsDeHX9vi3hpksvBAWbMgRZadb0Pkww@mail.gmail.com >> you have said that none of the added tracing output has triggered. Does >> this still hold? Because I still have a hard time to understand how >> those three patches could have the observed effects. > >On the other email thread [1] this issue is concluded. > >Yafang wrote on May 22 2020, > >Regarding the root cause, my guess is it makes a similar mistake that >I tried to fix in the previous patch that the direct reclaimer read a >stale protection value. But I don't think it is worth to add another >fix. The best way is to revert this commit. This isn't a conclusion, just a guess (and one I think is unlikely). For this to reliably happen, it implies that the same race happens the same way each time.