From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Down Subject: Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page Date: Wed, 20 May 2020 20:09:06 +0100 Message-ID: <20200520190906.GA558281@chrisdown.name> References: <20200501135806.4eebf0b92f84ab60bba3e1e7@linux-foundation.org> <20200519075213.GF32497@dhcp22.suse.cz> <20200519084535.GG32497@dhcp22.suse.cz> Mime-Version: 1.0 Return-path: 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; bh=tl5hNSaq9jwtAfQ3H4b6ZmG+ScLEKqnmbeQTtX38GBs=; b=ejWrZ/jfJqN1W3XBa5rEh8Lk4R2pGtjUsAfERal12GI7QfCZfWLDd9UtMrTSYE1/tI FovDCSwIGfbaaHj8cZJ1IKJDULyXaqYHAyGtIE65kUKbthWtIjz/KQGrx+y85v2kRRQb 81QOjyfbBp6VHvsSe4y3k88jU+q/CRx/ohQyM= Content-Disposition: inline In-Reply-To: Sender: linux-block-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit To: Naresh Kamboju Cc: Yafang Shao , Michal Hocko , 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@l Hi Naresh, Naresh Kamboju writes: >As a part of investigation on this issue LKFT teammate Anders Roxell >git bisected the problem and found bad commit(s) which caused this problem. > >The following two patches have been reverted on next-20200519 and retested the >reproducible steps and confirmed the test case mkfs -t ext4 got PASS. >( invoked oom-killer is gone now) > >Revert "mm, memcg: avoid stale protection values when cgroup is above >protection" > This reverts commit 23a53e1c02006120f89383270d46cbd040a70bc6. > >Revert "mm, memcg: decouple e{low,min} state mutations from protection >checks" > This reverts commit 7b88906ab7399b58bb088c28befe50bcce076d82. Thanks Anders and Naresh for tracking this down and reverting. I'll take a look tomorrow. I don't see anything immediately obviously wrong in either of those commits from a (very) cursory glance, but they should only be taking effect if protections are set. Since you have i386 hardware available, and I don't, could you please apply only "avoid stale protection" again and check if it only happens with that commit, or requires both? That would help narrow down the suspects. Do you use any memcg protections in these tests? Thank you! Chris