Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp749401ybk; Wed, 20 May 2020 11:00:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzOuRnG/vRTV4cVf86Ql4EnL0IIjWrLI3KeOxQp0P8TJmDCDgHPBzmp+KMGKuE0fbFN30eW X-Received: by 2002:a17:906:868f:: with SMTP id g15mr242535ejx.208.1589997650287; Wed, 20 May 2020 11:00:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589997650; cv=none; d=google.com; s=arc-20160816; b=jgkZutQD2/ZmkTEs20826dZOhSjwBQfp9GLa6ujygZ0KjG1CcW3rulbCB8gl6kLMA5 yF6D7nRld7UemRlxkVTVca1Zua7YEHgt0nddFRErxO9m1GHpX+7yYFnhnOf6ZZUHYDPX OFv8DgBegoXoBOQJgdYytLM17gcOXnb64yBXvbZIIsgWRz3z2qGeVcQDgAyU8hsIh1YW heb5ZGYtsHlTY3bSc6RSb3wpoC8hB8/jhSwpdPjPkqCt8y+zdgpDla+UJU1OiAtDYwdg chDfREEnktkDNZJCZFUNcGa2TzXhGlF1eQWSi+B00AskA2DHUCGGyQX5dl+hXXSdD5Rm qNUQ== 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=mtpCTLjeaytdekB4adxVz/e/JZwQHur4soi/tkekgkg=; b=N3otc0yc8ZH3qWobCcsyxbjiFJypQB2cTwP594EgdKSf588Njg3LeMIxQlPiB5N2I4 E7MzhUgWE19NRc+jKv6PH0F6EicwKJ0AQJpmyzFlcJt954+83j1/kYZQ8nGkdJ0hKygW mPWHHmT3jmgLGFpbRG65dcD9p/VPu4Fxp8sCskwqmDa3Rkvk4jycGxa2R05QKQuKrNZr gOCLYYpzB7qJ9c/rxHTTURLGnwPxwWw2MRQ4VAXpm2J60XZ+bD4OB/9urthPsm3E+zzS H4+2HNIWNMYdI4rsdzp4U0EVZv11Sy0x0oMbKJlAOtUthKOYbBzREjzY4UjzbTuTVMug q8LQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RwL7kSM3; 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 gu17si2169434ejb.26.2020.05.20.11.00.17; Wed, 20 May 2020 11:00:50 -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=RwL7kSM3; 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 S1726566AbgETSAH (ORCPT + 99 others); Wed, 20 May 2020 14:00:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726804AbgETSAD (ORCPT ); Wed, 20 May 2020 14:00:03 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67CD6C08C5C0 for ; Wed, 20 May 2020 11:00:02 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id u15so4896349ljd.3 for ; Wed, 20 May 2020 11:00:02 -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=mtpCTLjeaytdekB4adxVz/e/JZwQHur4soi/tkekgkg=; b=RwL7kSM3fz9MR6t5Ar2hYTR0dC+a68qyUw6+z9033WeXCAUoxY8PEL7x2rcKx9bIWT l6A08Wjxs5sPfZMw5X09MFSUjE1qHLWgyYHW8VFFkTznN60/pkdMAWpnger7o85A8dVP qTXxWNl+c9c6DyvNDvC0ebMsh3xbuJUKuQ8Rz44tF4eOqCus/XLjH8vxAcgNxnvE6ECD vDEUVjfrmmgeklu12ukdEkM3ps7/O48UUdbhbzh08v+evhakhTrUIyOdzD4cM7odKyc2 jWOem0ysPrATgUJg9nMtB+WUY+Ngyots1DIicBIYLP8IlhqZc/3YjYx7aeu0g0fnDMxE 4bOw== 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=mtpCTLjeaytdekB4adxVz/e/JZwQHur4soi/tkekgkg=; b=OlM0+qlJkUmfxz+etPInf3DXwxxYry16P80+OP1s5lq/rJheGz+HNwsuOgY2JCzDEO YIxE9K2vkIu66EYNryWQ5+nytupEVyR0hksHw9yBD9dRoPgWL2XWyXH7kPg30RD5JPhC T/Tb4iuRfs2fusDOMEBohFYmXt3bzRM1UOo2e1t+jzFHPfQVvthwp1bnQwdsbcpKTyX/ 2Pt41KlPSWP3A9iUJjC+Y+ivXvh0rYZ808+idjIS9hpe6lL9v+NjUSDTbqRzgGi69gku 2CxZLoOXm2HKkHWH5s4rmQOvsiuyAihgDxod4av3Oh+j+KOUEfvEHiSyRQ1CylGW0SwJ oemQ== X-Gm-Message-State: AOAM533oi3AbKtuTFSUC/CUsY01udwFKJyqm5epyL4ZZxLye0fhNylDc D7R15c+UBWBeGQnUt42UducptUcKMQuEoBTQ7nxxww== X-Received: by 2002:a2e:3012:: with SMTP id w18mr3286415ljw.55.1589997600706; Wed, 20 May 2020 11:00:00 -0700 (PDT) MIME-Version: 1.0 References: <20200501135806.4eebf0b92f84ab60bba3e1e7@linux-foundation.org> <20200519075213.GF32497@dhcp22.suse.cz> <20200519084535.GG32497@dhcp22.suse.cz> In-Reply-To: From: Naresh Kamboju Date: Wed, 20 May 2020 23:29:49 +0530 Message-ID: Subject: Re: mm: mkfs.ext4 invoked oom-killer on i386 - pagecache_get_page To: Chris Down , Yafang Shao , Michal Hocko , Anders Roxell Cc: "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@vger.kernel.org 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 Wed, 20 May 2020 at 17:26, Naresh Kamboju wrote: > > > This issue is specific on 32-bit architectures i386 and arm on linux-next tree. > As per the test results history this problem started happening from > Bad : next-20200430 > Good : next-20200429 > > steps to reproduce: > dd if=/dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190504A00573 > of=/dev/null bs=1M count=2048 > or > mkfs -t ext4 /dev/disk/by-id/ata-SanDisk_SSD_PLUS_120GB_190804A00BE5 > > > Problem: > [ 38.802375] dd invoked oom-killer: gfp_mask=0x100cc0(GFP_USER), > order=0, oom_score_adj=0 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. i386 test log shows mkfs -t ext4 pass https://lkft.validation.linaro.org/scheduler/job/1443405#L1200 ref: https://lore.kernel.org/linux-mm/cover.1588092152.git.chris@chrisdown.name/ https://lore.kernel.org/linux-mm/CA+G9fYvzLm7n1BE7AJXd8_49fOgPgWWTiQ7sXkVre_zoERjQKg@mail.gmail.com/T/#t -- Linaro LKFT https://lkft.linaro.org