Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5842707rwl; Wed, 22 Mar 2023 03:09:52 -0700 (PDT) X-Google-Smtp-Source: AK7set+VPjFvxYpaJEM1oFr/GIiV9hrWgiSf/P8DfHzfnW4OkD7UVqZAo5Iy0yUBoxkhCo2ARXGQ X-Received: by 2002:a05:6a20:1e58:b0:db:bc99:1f4f with SMTP id cy24-20020a056a201e5800b000dbbc991f4fmr2333pzb.32.1679479792370; Wed, 22 Mar 2023 03:09:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679479792; cv=none; d=google.com; s=arc-20160816; b=cFhcP4A1mssjpK85TsJEpLlmLVVu4Jy6nHc70bmyvmfqaFSZ68Hh/xAFWYIdIQDRif dG7wycZi5kkOio4YyJXSBx6XHpGFTEx+i1tgSxCuceJ5rP7bHQ+bJ4Pgb8nIOTLPJGhk CxrVS9RmcphYzVYAH0X+EWEsXSP0uJLIV2TPyS7OsNzl2hH31HEKVgIGRFjHvN8U87MO JnZFLLcy/sdi1ns458vwrkA7rwju+ykyb0153GoJeXF+84fiA4ZQSRrTcMr2p3bk2ozt G8vT6konpyOkefJ3oEALzIpEJOBnOR9WmW9aCnHZNOP8aW/cRA5EWLaMDK5FrhVcW2QW BNwQ== 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:feedback-id :dkim-signature:dkim-signature; bh=aD1YIpUAa25QM2vuMLDfbqJJy4ZVEI7gALNgRAtV62M=; b=XMhMoKEEiMKKZ2nMVWryBppey6AKA5XoXZlDnzySS6Up07CtYmUyeiSfcKwcsMFk7O Zk8CbZiRvHfZlLKyhB+/ulK6O9oK1T/ac5BOXD3kfKlfJCwCPxYmeKjlcKvcP5g4RMAi nQDuP/Ou4Hqo/3jnl5flZkBOBidE5v4bu3XoY5k+pu2Vedw6tgpupGXORVjyDP6O5OO6 igm1ECYA/nrHftASVwHqGdPjG4zNYncpPtVhIxmSDGAcM5FC3NDsgxOorKVDGNgN8dTY EsDdHnKzumsgx+fiVi6xSlb75HcuVsew2lP9B5GYKn3W2rietE6573HXiMm89wJGAsFj 3Itw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov.name header.s=fm3 header.b=mIWnEzzw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=BJyLOtBy; 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 q1-20020a632a01000000b0050fa7d26537si4751822pgq.601.2023.03.22.03.09.40; Wed, 22 Mar 2023 03:09:52 -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=@shutemov.name header.s=fm3 header.b=mIWnEzzw; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=BJyLOtBy; 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 S230027AbjCVKDX (ORCPT + 99 others); Wed, 22 Mar 2023 06:03:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229841AbjCVKDP (ORCPT ); Wed, 22 Mar 2023 06:03:15 -0400 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8F4429155; Wed, 22 Mar 2023 03:03:13 -0700 (PDT) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 7F9D5320024A; Wed, 22 Mar 2023 06:03:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 22 Mar 2023 06:03:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm3; t=1679479392; x= 1679565792; bh=aD1YIpUAa25QM2vuMLDfbqJJy4ZVEI7gALNgRAtV62M=; b=m IWnEzzwVmjE0SLnbRans3uxqxIOl+LUGhThMm3aTg539LQNogEPmItSOoC9xAwDW wxCmDjwIqVVfTXBVGYd4jSf1dARwGgyFJkyZrUkv7GVo8NgoUzpOGLi4a819nRc7 ljkUaxJUE56hUh5n7RKxSI+5ROs2xQDej5D3OgF+hxnpX8PDOGVZiokGiIVcRyWo chYLNaXQBYoTqXoGFNUrd9mhYEoqeAy4HEZ8OKwFMDJbETqir3FPFdl3ti2hExMR cWCdoWqC8YX3pdXqiW2PKAMY/wkk26WOOxwVxX2hL2zYwiEMmJcH6XvfsM9tvWwV fLLoqRT0N32s13ZZ5qUAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1679479392; x=1679565792; bh=aD1YIpUAa25QM 2vuMLDfbqJJy4ZVEI7gALNgRAtV62M=; b=BJyLOtByEwChh7v1QLbjVOrX2wqmL Ien77v6Pg+m4cQkYOg4OHc297QYzeviQdqgNeRMPoyv2zDXUHW6gJx7MnO8xj3vk 94/+e2UikiOB5prZHmjr1sTYNg9AqzDXjS5LSJXjd/cPPqDQ6xActnplgIthhXC6 sQ64lOm42YyF6GwZcKNG80Y67iB0DS9hkUFkjYcdcXmMFfvm/z2pboWFgd/F4hFD yMl+avVtwWb+hLJilvhqg5RwJiMMET2CcM+pnPXUSOo5ihkWx5yn//5EMlZnViXh 349c54nacGtuowuOUrxKtHCvM8s6aA7To1RHKArNGEGRiffF38p/LdnHQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdegvddguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomhepfdfmihhr ihhllhcutedrucfuhhhuthgvmhhovhdfuceokhhirhhilhhlsehshhhuthgvmhhovhdrnh grmhgvqeenucggtffrrghtthgvrhhnpeekvddvjeffheetgedtvdfgieejiedvgeejieet jeehieehveffueekfeehffdvveenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehkihhrihhllhesshhhuhhtvghmohhvrdhnrghmvg X-ME-Proxy: Feedback-ID: ie3994620:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 22 Mar 2023 06:03:11 -0400 (EDT) Received: by box.shutemov.name (Postfix, from userid 1000) id F3C1810A603; Wed, 22 Mar 2023 13:03:09 +0300 (+03) Date: Wed, 22 Mar 2023 13:03:09 +0300 From: "Kirill A. Shutemov" To: Mike Rapoport Cc: Huacai Chen , WANG Xuerui , Andrew Morton , "Kirill A. Shutemov" , linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-mips@vger.kernel.org Subject: Re: [PATCH] loongarch: drop ranges for definition of ARCH_FORCE_MAX_ORDER Message-ID: <20230322100309.lefchtsrvtsyboln@box> References: <20230322081727.2516291-1-rppt@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230322081727.2516291-1-rppt@kernel.org> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 Wed, Mar 22, 2023 at 10:17:27AM +0200, Mike Rapoport wrote: > From: "Mike Rapoport (IBM)" > > LoongArch defines insane ranges for ARCH_FORCE_MAX_ORDER allowing > MAX_ORDER up to 63, which implies maximal contiguous allocation size of > 2^63 pages. > > Drop bogus definitions of ranges for ARCH_FORCE_MAX_ORDER and leave it a > simple integer with sensible defaults. > > Users that *really* need to change the value of ARCH_FORCE_MAX_ORDER > will be able to do so but they won't be mislead by the bogus ranges. > > Signed-off-by: Mike Rapoport (IBM) Acked-by: Kirill A. Shutemov -- Kiryl Shutsemau / Kirill A. Shutemov