Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp555843ybm; Thu, 28 May 2020 09:18:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzB0E11iH5USlAJekzEpTeP8W5IWMD2HX3lAPTQGS5IcnrSf3q5BTk4fU8u5XLPaQlxwxkA X-Received: by 2002:a17:906:5f87:: with SMTP id a7mr3705241eju.70.1590682734512; Thu, 28 May 2020 09:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590682734; cv=none; d=google.com; s=arc-20160816; b=xZvYzcl77udfTmIulqn3TATlRes4WLvxyDnkdj/RhX1fZXIrpqpUOpsu2LDU7AJ7r2 AKQWPgWgk8DA2GKuUZtVypUdwpqXsKkd/kzozKmKnTuKgOS2FuHTHrGVsYsznPvGWUOR gbbHlHObe3rhsMEFtweRkLLOsy6svMT8c52Q7a8PapkT1Z7P6AUJ7MZ+G3bxujffJ8Q8 bO8MVkWk8dfPHVqQerVro13zRmDkh1S+kiIDgtvXQZcTKNVJIv6Y4z4wMJG628FsBy9j NGbWPli+vjdWdGH/DDU6Cyr+HqPeDMJFUX7GGUwJQAkc6FpdoSyABGT7fVV+XtaSLbPW wsRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=IuyHwLJRnB6jxTc1IB7c0ys/rrbHpiCHBZYkZOd5+aA=; b=UpKeAGrHX4DvHnFw+pxrVUCKendrM6umgowlnHhjR+WNhg6/S1F6Y8ndxTfA1bXXzP wiIqOFfjMJ11xP0So8Wlg6B9ec2OqfVjlfU+/6x8+l4Bx9/7CJd8hQiMaMnfj15xz8jt WMf1fEHM3KvAT37JZspSpJjteT6pYvfYTxG4cMTX6rguV1RODk8rODCFhFvksuCy+/5h p/lo9TDHztlkjX5bUbQmokPRO4x91JyEz49n7QY2TqrJmg3MyhBm57hWHQvWoFCvEIOO KxJxmYgStBhAfBFU51vP+Ss/n9VG+olJp08HZwty4qOIjEG2++phi24wBN90X5hAZdUH 0S6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dnY861HI; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j18si2106286eja.684.2020.05.28.09.18.23; Thu, 28 May 2020 09:18:54 -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=@linaro.org header.s=google header.b=dnY861HI; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2404968AbgE1QRS (ORCPT + 99 others); Thu, 28 May 2020 12:17:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58960 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404876AbgE1QRO (ORCPT ); Thu, 28 May 2020 12:17:14 -0400 Received: from mail-lf1-x144.google.com (mail-lf1-x144.google.com [IPv6:2a00:1450:4864:20::144]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BA4CC08C5C6 for ; Thu, 28 May 2020 09:17:14 -0700 (PDT) Received: by mail-lf1-x144.google.com with SMTP id e125so16918737lfd.1 for ; Thu, 28 May 2020 09:17:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IuyHwLJRnB6jxTc1IB7c0ys/rrbHpiCHBZYkZOd5+aA=; b=dnY861HISlW7Skc3gzpG3vW0s3QiWx9O4snM0Q63YTXMKM+DTDIREHzF4vRDxhIvbZ dYi7yQdeWR7/U7kdlDUHwOi9DdY7WbtDafHbadPk2OPyvMhIIkEiiUHeUss1TwcHy759 AkF2Q3ZVo/VG5Bdc4OEnX9FsUtb9Iw0ZFZ7YKTkSRlM9J0Gonu/ZDOEK5W9Y3RZ86gJk S1HLfVmE5rjKgkr2zLBllzghwb3k4F7KnbS94qnb1iZAADxYXmu+D8Da7yx7DAEi6qD0 X7sm5OjbS/W1CtcsJY4DpGOA0rwpitIt381IGnI44rO6i4hfyMb9laFfBPVIGGQELoEg Iv3w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IuyHwLJRnB6jxTc1IB7c0ys/rrbHpiCHBZYkZOd5+aA=; b=LQFX23Ev5xqh/kvN5VK7PKv50Gc8vy11fwkDe5kqEKtpBt9ZCv2+/oOtavng354UqV hFyDSeBlQpZEKhj7FiJPmUZixXj98HoxEHYW+8ORoKUrry5kIM2afg0FH1+RToDZW7Sg 4JuHiHO7h5FKZcnyRFe5HjrwYPdBhEtzm+hxmIMOgi82UykqzDY3vsub/xJ52WaN224a WCgC2TH9/8phsU+9JolBTfIchSiYn2ArYezm61XDkx2yTJnKaYeWoO0DJkpJiWiYTBwL u+90KWiX0vO2O+lBLmZtY31fydJR5YnZO+Sze12ZJEu/ecwX7FL93tyPMqaYdu6pifYC sXEw== X-Gm-Message-State: AOAM5314hrV1iQILYy53vtT1p6whfHo+9sHfeAYCTQqEwyvXySO6L8QZ dczdwgxGCgUK/3ZwemZ49BwTUN/+3UuoeaiHmshz9g== X-Received: by 2002:a05:6512:533:: with SMTP id o19mr2029203lfc.6.1590682632866; Thu, 28 May 2020 09:17:12 -0700 (PDT) MIME-Version: 1.0 References: <20200519075213.GF32497@dhcp22.suse.cz> <20200519084535.GG32497@dhcp22.suse.cz> <20200520190906.GA558281@chrisdown.name> <20200521095515.GK6462@dhcp22.suse.cz> <20200521163450.GV6462@dhcp22.suse.cz> <20200528150310.GG27484@dhcp22.suse.cz> In-Reply-To: <20200528150310.GG27484@dhcp22.suse.cz> From: Naresh Kamboju Date: Thu, 28 May 2020 21:47:00 +0530 Message-ID: Subject: Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page To: Michal Hocko , Yafang Shao Cc: Chris Down , 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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. [1] [PATCH v3 2/2] mm, memcg: Decouple e{low,min} state mutations from protection checks https://lore.kernel.org/linux-mm/CALOAHbArZ3NsuR3mCnx_kbSF8ktpjhUF2kaaTa7Mb7ocJajsQg@mail.gmail.com/ - Naresh > -- > Michal Hocko > SUSE Labs