Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp1073054ybz; Fri, 1 May 2020 13:59:55 -0700 (PDT) X-Google-Smtp-Source: APiQypKtJ6ffIt7AjceXyvtLLQcqqiy1eQiVqF3ebTHzSxp/dxVmNMpwf+K6Gm8s4IaMaintqZxo X-Received: by 2002:a17:906:4ed6:: with SMTP id i22mr5172696ejv.146.1588366795755; Fri, 01 May 2020 13:59:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588366795; cv=none; d=google.com; s=arc-20160816; b=y70SpWoUxgCp0etmJNiJUnuUf59I9TJQT4ecSuAz6OmB+L67ZeYhxIPGOn/Egdw0XG YzqUqEkx/MXVCBTdbI5lNiVi0S9sh3eD0zx2FTFFhe8ZwKziKcvQ5y3urvcHrX6iZEx/ JVc74NotWKgzJuaB2FcAdfiUa/Ct/eA/ypfDAo8ycmT/qT7SxWKVrWz29DsgPxJaig5a 6aGjBMtlxt8znru14bqT4EXCJItLl+1Knb1+S12NWn66Q2FuxEK5z+CzRrYQfCOaWxxN thD/cVSgqzcVfu5o8FfpxUA6faD8+jCVCdg2q9sZI94KQ9A1LoIfY12qXg4yggPRzTrs LKfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=anY1t++TYfe8lj2ggI2dV8W2DbMMj8yfyXJW+IQHW6U=; b=Gq7lGQwxRSe2i1OMFUoI2JjaZ5Y7dj5NIMq8Q+nFPs5VOJC9NSP5x6qiaL+uDmChXj +Jws1wF93mip4xgOI5i5swtcrBd34StWNJ/AKT22gwg+pGJrPyg2sAU0yQum/sA3cDQJ E/g4QitQPEkuctgjM+6yisyEhgk3s0TdQZ27lW/w7Aj+Irt2tkufN4hXRCpqGFdObG+T GvPYJ619ve47h5F3+ZrnYllS2SEvpWef9/mYsl+n+zNhs4qF7Qcxi8DJxAIMa32g3zg7 5Cvr1Wp6wgKWHZiNafiYCgh8Qaj3sw0vckWg+zqHT49WWnSABaXCZTz109vvUnvpK5/w fifA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="iBbqAgH/"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pj7si2492428ejb.221.2020.05.01.13.59.22; Fri, 01 May 2020 13:59:55 -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=@kernel.org header.s=default header.b="iBbqAgH/"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726892AbgEAU6I (ORCPT + 99 others); Fri, 1 May 2020 16:58:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:57804 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726272AbgEAU6H (ORCPT ); Fri, 1 May 2020 16:58:07 -0400 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 Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 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.