From patchwork Thu Sep 17 13:35:28 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paul Cercueil X-Patchwork-Id: 11782691 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 40E07618 for ; Thu, 17 Sep 2020 14:49:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C9B522242 for ; Thu, 17 Sep 2020 14:49:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=crapouillou.net header.i=@crapouillou.net header.b="n3gCcN44" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727521AbgIQOtG (ORCPT ); Thu, 17 Sep 2020 10:49:06 -0400 Received: from crapouillou.net ([89.234.176.41]:47348 "EHLO crapouillou.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727495AbgIQOs5 (ORCPT ); Thu, 17 Sep 2020 10:48:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1600349734; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=lBb3TOEvYTkTn6E8NDi25RMW8ck/fLPNUgjrdQ80fVc=; b=n3gCcN44Id6GF1h+GPHnzbCt1sWWGZD6oGucZBuUTV2yTdSRYBl3S69Hd1uKPzET4yuAbz CYA42QyqTmCtCpxqE1T2PMXLBl1pBDF0XR+hGjxdbqYa+PqbOfmddWM6f+nx4U1ZFGUs+N m3Jf+ES5Xsj4K8HhyJiMqXTiJmK78hA= From: Paul Cercueil To: Thomas Bogendoerfer Cc: od@zcrc.me, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Paul Cercueil Subject: [PATCH] MIPS: Increase range of CONFIG_FORCE_MAX_ZONEORDER Date: Thu, 17 Sep 2020 15:35:28 +0200 Message-Id: <20200917133528.83091-1-paul@crapouillou.net> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org There is nothing that prevents us from using lower maximum values. It's something that we actually want, when using bigger page sizes on devices with low RAM. Signed-off-by: Paul Cercueil --- arch/mips/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig index 632fe8fe68c4..dca2bbdbfc24 100644 --- a/arch/mips/Kconfig +++ b/arch/mips/Kconfig @@ -2251,7 +2251,7 @@ config FORCE_MAX_ZONEORDER default "13" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_32KB range 12 64 if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB default "12" if MIPS_HUGE_TLB_SUPPORT && PAGE_SIZE_16KB - range 11 64 + range 0 64 default "11" help The kernel memory allocator divides physically contiguous memory