Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1942651rda; Tue, 24 Oct 2023 07:53:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IERTY+L7b4LqcC35xUTI94iHAk5tQtYSw+/4s6Zpa7DlPv/csirMKuSsK2dyNCp5jdpQw/S X-Received: by 2002:a17:902:ea09:b0:1c8:9d32:339e with SMTP id s9-20020a170902ea0900b001c89d32339emr10821541plg.50.1698159234022; Tue, 24 Oct 2023 07:53:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698159234; cv=none; d=google.com; s=arc-20160816; b=EKy8UAR1UNSdksMzZwEA9EVaDTrgHsQ2DPQFJViRDam5r7ZQnBdVhfEw+TU/W9jJhU VmCjNnpdR9t2PS+htE0Lt0TYM2AINwy/jXq0pTDlKZVyqjaKv/SCNKrkdJIAF9BolBGL 4tkaO+IA9i8eBbvqXNvCBJO4rLCEmco4DiLPH8PSfk2+1uuhg07eDg5xixvaCgXEcfIs J0DANqXWx+WQC43LGmgBlFFkvj5RLsgEzecDfA8U00tSxX45tuqqdYR1OpeGkSo/DaMv SsZCTByBKY0+Q6WV20dx09BR7d+dScsA19iEY+PNDFazlIy5eB2xrzaBnCibq3BRBBLU VpOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=2aCBahLET1aN/DJtwOBoNeWzNfIk2eqWCDD4u+/6DzU=; fh=vHtI/YX8tkxPyZPSY5WT7nKEvnGVa81q7Szr7cHirMk=; b=okjqpkVHdB/36JfMz2yVIKvG4lNk2NXbl2IH6xFkGWKKM4CoR1e+DnPu3266PkhDNZ tX5vmpstuV32ph6o7Up0jYfEQaH6ccu8b1bmKbcBi20YTAGrB6lWCC6X4AV36WA/zAge 6fmm8XxEq6lJ+CzOdXMKKP7QtFZaAu+KfMFeDj32gMyeBt2IZn2sdvjj1cYwNnc9ARFq Spc4sFqgTvUw8u7WuFOOOOMdrvgcNOO3GVBs5o7hQNMiMevsw2tTAat9Vis6E+HEqq97 keoeZKESQXpiHOc0Hyu/oP6ltO+boeZCYpZum/sWgk2dQCLJ8mBmOs3XuWA3l8QBc2LM +XIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=CXhWXThu; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id n16-20020a170903111000b001cae5766330si4497649plh.619.2023.10.24.07.53.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 07:53:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=CXhWXThu; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 6973B80B1E5E; Tue, 24 Oct 2023 07:53:49 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234597AbjJXOxs (ORCPT + 99 others); Tue, 24 Oct 2023 10:53:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234630AbjJXOxr (ORCPT ); Tue, 24 Oct 2023 10:53:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70F9310D3 for ; Tue, 24 Oct 2023 07:53:44 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2C25C433C8; Tue, 24 Oct 2023 14:53:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1698159224; bh=lUFQ3v5CpOWCmK337y0OntuNv8kN0NqIfQIZ92fiWus=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=CXhWXThuIDw9jKycAqBYeGO1zaSDEwHFFDU85loiH8gAoxWw5SqknD3YVaoS6JGqU a1ThKCAQvYu0jUzy/7hHQ98oDaBztYtGaw1pGrb/aydcCO8bgK3ABc+ILTZuZ0AZd8 baKcazGQMt5RFzuENhwcElOglBDCbiCPld9XGvQA= Date: Tue, 24 Oct 2023 07:53:43 -0700 From: Andrew Morton To: Jan Kara Cc: Hugh Dickins , Matthew Wilcox , Hui Zhu , Theodore Ts'o , linux-fsdevel@vger.kernel.org, linux-ext4@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH] ext4: add __GFP_NOWARN to GFP_NOWAIT in readahead Message-Id: <20231024075343.e5f0bd0d99962a4f0e32d1a0@linux-foundation.org> In-Reply-To: <20231024100318.muhq5omspyegli4c@quack3> References: <7bc6ad16-9a4d-dd90-202e-47d6cbb5a136@google.com> <20231024100318.muhq5omspyegli4c@quack3> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 24 Oct 2023 07:53:49 -0700 (PDT) On Tue, 24 Oct 2023 12:03:18 +0200 Jan Kara wrote: > On Mon 23-10-23 23:26:08, Hugh Dickins wrote: > > Since mm-hotfixes-stable commit e509ad4d77e6 ("ext4: use bdev_getblk() to > > avoid memory reclaim in readahead path") rightly replaced GFP_NOFAIL > > allocations by GFP_NOWAIT allocations, I've occasionally been seeing > > "page allocation failure: order:0" warnings under load: all with > > ext4_sb_breadahead_unmovable() in the stack. I don't think those > > warnings are of any interest: suppress them with __GFP_NOWARN. > > > > Fixes: e509ad4d77e6 ("ext4: use bdev_getblk() to avoid memory reclaim in readahead path") > > Signed-off-by: Hugh Dickins > > Yeah, makes sense. Just the commit you mention isn't upstream yet so I'm > not sure whether the commit hash is stable. e509ad4d77e6 is actually in mm-stable so yes, the hash should be stable.