From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3EBB9C77B72 for ; Fri, 14 Apr 2023 19:46:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229815AbjDNTqX (ORCPT ); Fri, 14 Apr 2023 15:46:23 -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 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.