Received: by 2002:a05:7412:b130:b0:e2:908c:2ebd with SMTP id az48csp631290rdb; Fri, 17 Nov 2023 08:20:17 -0800 (PST) X-Google-Smtp-Source: AGHT+IFC4bq/8S1h8v2AOBEXBvwloJsDirF6k5HroST3PhDrSWz2aPGCGsR2Gi9rUamiaa9Tg3Kr X-Received: by 2002:a05:6a20:4305:b0:181:a784:67df with SMTP id h5-20020a056a20430500b00181a78467dfmr8099259pzk.20.1700238017474; Fri, 17 Nov 2023 08:20:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700238017; cv=none; d=google.com; s=arc-20160816; b=YSrQ8BJuYyBrAHzqEVqvParYN/uYVSnZI9EUba5wx8q5yJVvGIMgITm8s3xedKpUDq v6F9pHNdjDtxOkQVB89qBpNsX/CWDPq7JXSNaMpN9DqXEF/GZfcF3LDlZz5kiKv3K+Tr A82Lt+6ZnO9jClFUlV+3GAJkj20JkdsAdqz/43sDLpdMZLYcmfXIh3Db1doXsyi+ODUW eKQ0hkArcH3/isZsOm/GrCVvLUCdEa2KxQi1HcO4UYo/7YcH0T6tGyLRqGp1ZELHeZjC hDlVEfWUqGYRv95fBu371AFxPtCQMWo/drO4OBOSY/pbNrySbR/w4mc0wsINiWbR+23G MwgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Q/aBej1Ta5D1763OVChtyLphOvRQgrKIHsPKOlwrkO4=; fh=bqw1LrGp0Ar5yC4I+eBMnuwySEMQE9ND1lpHPq+t7Cc=; b=XrCnJe89ATbKWgJaVhxkOx4p/R+5anc5FH2D+Slp6TSj+7YTGZeCidYzCHO3V+xN5g VuQ4WIG3OjxOQeEw1VfzHZ3gSOmCON9CZvlMQmuoL/tGBfaHw3k0hjuMhU3JDCQWX9pU VQrk/A11LZTWNa+Swxw8PFbpWvM8PTl8pFk5ZloSEdDp25wQiU6arN76TNHdR3wlMnKA 0WT/fRZq0eEAMdlXxa9550lcER09Ql+ew6+HpY+6LKS4Hd03M3ZjeS3KEaMgf0tLX0T7 FkToQoeuaIfLcULKlDL5zrcyNL4yRd6jrSPKW+by9QsrYs+Mvo8NRE60QMb5ML2eIUX9 oqAQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id j16-20020a634a50000000b005bdbdc71c90si2082327pgl.282.2023.11.17.08.20.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Nov 2023 08:20:17 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id B35808271774; Fri, 17 Nov 2023 08:20:14 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346058AbjKQQUE (ORCPT + 99 others); Fri, 17 Nov 2023 11:20:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231634AbjKQQUD (ORCPT ); Fri, 17 Nov 2023 11:20:03 -0500 Received: from outbound-smtp19.blacknight.com (outbound-smtp19.blacknight.com [46.22.139.246]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14A45A4 for ; Fri, 17 Nov 2023 08:20:00 -0800 (PST) Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp19.blacknight.com (Postfix) with ESMTPS id 96A741C464C for ; Fri, 17 Nov 2023 16:19:58 +0000 (GMT) Received: (qmail 21917 invoked from network); 17 Nov 2023 16:19:58 -0000 Received: from unknown (HELO mail.blacknight.com) (mgorman@techsingularity.net@[81.17.254.19]) by 81.17.254.26 with ESMTPA; 17 Nov 2023 16:19:58 -0000 Date: Fri, 17 Nov 2023 16:19:56 +0000 From: Mel Gorman To: Michal Hocko Cc: Charan Teja Kalla , akpm@linux-foundation.org, david@redhat.com, vbabka@suse.cz, hannes@cmpxchg.org, quic_pkondeti@quicinc.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2 2/3] mm: page_alloc: correct high atomic reserve calculations Message-ID: <20231117161956.d3yjdxhhm4rhl7h2@techsingularity.net> References: <905d99651423ee85aeb7a71982b95ee9bb05ee99.1699104759.git.quic_charante@quicinc.com> <20231116095901.72oqtjoiqzt3tfhj@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Fri, 17 Nov 2023 08:20:14 -0800 (PST) On Thu, Nov 16, 2023 at 01:52:26PM +0100, Michal Hocko wrote: > On Thu 16-11-23 09:59:01, Mel Gorman wrote: > [...] > > This patch in isolation seems fine with the caveat that such a small > > system may find the atomic reserves to be borderline useless. > > Yes, exactly what I had in mind. Would it make sense to reserve the the > pageblock only if it really is less than 1% of available memory? I'd have no objection with the caveat that we need to watch out for new bugs related to high-order atomic failures. If ths risk is noted in the changelog and that it's a revert candidate then any bisection should trivially find it. -- Mel Gorman SUSE Labs