From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 C23AAC35280 for ; Fri, 1 May 2020 20:58:09 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 77F03208DB for ; Fri, 1 May 2020 20:58:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="iBbqAgH/" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 77F03208DB Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-foundation.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 0B4C98E0005; Fri, 1 May 2020 16:58:09 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 0657E8E0001; Fri, 1 May 2020 16:58:08 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id EBC7E8E0005; Fri, 1 May 2020 16:58:08 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0136.hostedemail.com [216.40.44.136]) by kanga.kvack.org (Postfix) with ESMTP id D0BB78E0001 for ; Fri, 1 May 2020 16:58:08 -0400 (EDT) Received: from smtpin25.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 899CB180AD806 for ; Fri, 1 May 2020 20:58:08 +0000 (UTC) X-FDA: 76769362656.25.ring26_64242c0a22d36 X-HE-Tag: ring26_64242c0a22d36 X-Filterd-Recvd-Size: 3678 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf18.hostedemail.com (Postfix) with ESMTP for ; Fri, 1 May 2020 20:58:07 +0000 (UTC) Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A53E3216FD; Fri, 1 May 2020 20:58:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588366687; bh=PHAeuAjto7YSPUcW9IpDpIz6jTr+6+rE49PpUYBb17o=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=iBbqAgH/8G5kCVKRHKmsayQJh12Ske4yDZYyRWiSbMac1qjEi90aavUHh0afBsqR2 9b2wMVEluTKDUehCxsaBSkmWlBZUqA3R2Tgc4CVEM8Y4zm0ooqXv/G256MzCeXWp/V sn5RY0Y6djNBT/M7VKJ6c65X4E7PnY5aH0OcUQz8= Date: Fri, 1 May 2020 13:58:06 -0700 From: Andrew Morton To: Naresh Kamboju Cc: open list , Linux-Next Mailing List , linux-mm , linux-ext4 , Andreas Dilger , Jaegeuk Kim , "Theodore Ts'o" , Chao Yu , Arnd Bergmann , linux-f2fs-devel@lists.sourceforge.net, Hugh Dickins , Andrea Arcangeli , Matthew Wilcox , Chao Yu , lkft-triage@lists.linaro.org Subject: Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page Message-Id: <20200501135806.4eebf0b92f84ab60bba3e1e7@linux-foundation.org> In-Reply-To: References: X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Fri, 1 May 2020 18:08:28 +0530 Naresh Kamboju wrote: > mkfs -t ext4 invoked oom-killer on i386 kernel running on x86_64 device > and started happening on linux -next master branch kernel tag next-20200430 > and next-20200501. We did not bisect this problem. It would be wonderful if you could do so, please. I can't immediately see any MM change in this area which might cause this. > metadata > git branch: master > git repo: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > git commit: e4a08b64261ab411b15580c369a3b8fbed28bbc1 > git describe: next-20200430 > make_kernelversion: 5.7.0-rc3 > kernel-config: > https://builds.tuxbuild.com/1YrE_XUQ6odA52tSBM919w/kernel.config > > Steps to reproduce: (always reproducible) Reproducibility helps! > oom-killer: gfp_mask=0x101cc0(GFP_USER|__GFP_WRITE), order=0, > [ 34.793430] pagecache_get_page+0xae/0x260 > [ 34.897923] active_anon:5366 inactive_anon:2172 isolated_anon:0 > [ 34.897923] active_file:4151 inactive_file:212494 isolated_file:0 > [ 34.897923] unevictable:0 dirty:16505 writeback:6520 unstable:0 > [ 34.987678] Normal free:3948kB min:7732kB low:8640kB high:9548kB > reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB > active_file:1096kB inactive_file:786400kB unevictable:0kB > writepending:65432kB present:884728kB managed:845576kB mlocked:0kB > kernel_stack:1112kB pagetables:0kB bounce:0kB free_pcp:2908kB > local_pcp:500kB free_cma:0kB ZONE_NORMAL has a huge amount of clean pagecache stuck on the inactive list, not being reclaimed.