Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp1008220rwe; Fri, 14 Apr 2023 12:50:47 -0700 (PDT) X-Google-Smtp-Source: AKy350ZKHDoEf2nq0vG9Y6+E3nr4xeoLT8FjOQ9fhZXWkjQ67MblIKrHH/mLwh726pxZZiVM2gd6 X-Received: by 2002:a05:6a20:a01e:b0:ee:99d5:d63b with SMTP id p30-20020a056a20a01e00b000ee99d5d63bmr1573459pzj.23.1681501847572; Fri, 14 Apr 2023 12:50:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681501847; cv=none; d=google.com; s=arc-20160816; b=X7Wie4tmvn9d2mJtx7n2vBBW9+TN5MEyEVFY0qCEJPWjnQNgcd8gfs+G1FmDiQef5i Lte12ItN7SLKI0CyqGNUbKOGwkBG8vCqKcH6zlfi9rFlqT+EsXfPsnMYnk/Tz4YwPswd P+vBOhtOlYDzHoAOQMjh8Ju3kesmfQsDPpsrl7L6gzn6v/Wtaado72zcZBuAxkzq9nwf jUft1ws/WtLsc4WgQdXx/BL+TikTg1nsL3F65eQSHNIBGcfXU0JMSWaFCuP2Y0emz5Wz 4vK9BwNAsZzpTs1J3CoThS4dTg4E++PlaxdZp/bNUfdVt8y+m6CuzMx3eHIKhoV9/9Us bRuQ== 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=4LAmdmreJ6lZfEWGN+YhpoS23TnpyTEGcxnCMJNiXxM=; b=B3+//K86xpA4xhQoo7pZxvlYSE1punNExyPmTHibgF+i+boLIQVkpIa50JolQTitbX iM/ZOiGVm8UBVBDwfhUCFhcTMmeNFlUrghZeUDH7Sh2umbC2rfJzoUAej1elYnJSfNXr kHn2JORrg2rFGoTN5sPxdXEGQGnlF6E3gg+ZyiXlMF3/L1D9BDxFM3UHzxkM9TSh53fk 9BCMNSs+rsK86iB8jYFDR2F16Ht+OvKXZTZJ0gSv4ldHwZudX9Vdcw+CtEGbdYUWZpuW oMfVxbwjA9c/nD2dCOc2m9iMrO2s3E4ophzGd2uaHu8WTkmvNpBAL6CYcjlKcWxr5HYH MXEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=0I8xZsrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y29-20020aa7943d000000b0063b1bfa94dfsi4908639pfo.301.2023.04.14.12.50.33; Fri, 14 Apr 2023 12:50:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=0I8xZsrN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229735AbjDNTqW (ORCPT + 99 others); Fri, 14 Apr 2023 15:46:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52266 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229468AbjDNTqV (ORCPT ); Fri, 14 Apr 2023 15:46:21 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B01CB422A for ; Fri, 14 Apr 2023 12:46:19 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4A70064448 for ; Fri, 14 Apr 2023 19:46:19 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 64C61C433EF; Fri, 14 Apr 2023 19:46:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1681501578; bh=zewFkR9CTXAmbKrqBvDqFQw5lqpR+BJt79rpHFOXU2g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0I8xZsrNKj7OBFHOzz7WfdL8mYbG3v9DBNn4AR1hoDn7CwaMQhreC19smS7QI8DGX b95jA27HyHKo7FU/9JP5kJmWwosf1pTZUxHGfoCmZUi1DB3DvTormSAF3O/JdZYato AbRNNLDi9gHkDJEU4ziPRG3ho3m7M2o/2DVp2J58= Date: Fri, 14 Apr 2023 12:46:17 -0700 From: Andrew Morton To: Mel Gorman Cc: Vlastimil Babka , Michal Hocko , Oscar Salvador , Yuanxi Liu , David Hildenbrand , Matthew Wilcox , Linux-MM , LKML Subject: Re: [PATCH] mm: page_alloc: Skip regions with hugetlbfs pages when allocating 1G pages Message-Id: <20230414124617.c53cf4ce606cdcba54f65aa2@linux-foundation.org> In-Reply-To: <20230414141429.pwgieuwluxwez3rj@techsingularity.net> References: <20230414141429.pwgieuwluxwez3rj@techsingularity.net> X-Mailer: Sylpheed 3.7.0 (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=-9.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 14 Apr 2023 15:14:29 +0100 Mel Gorman wrote: > A bug was reported by Yuanxi Liu where allocating 1G pages at runtime is > taking an excessive amount of time for large amounts of memory. > > ... > > 6.3.0-rc6 6.3.0-rc6 6.3.0-rc6 > vanilla revert-v1 hugeallocfix-v2 > Duration User 0.28 0.27 0.30 > Duration System 808.66 17.77 35.99 > Duration Elapsed 830.87 18.08 36.33 > I'll put a cc:stable on this.