From patchwork Mon Nov 5 12:33:31 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kehong Zhang X-Patchwork-Id: 10668137 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 886DA17D4 for ; Mon, 5 Nov 2018 12:34:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FDA128CBC for ; Mon, 5 Nov 2018 12:34:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 63A9B294A9; Mon, 5 Nov 2018 12:34:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E7A6428CBC for ; Mon, 5 Nov 2018 12:34:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=jwhYA6uKQUKn0tslgQBuoOojdowvqp6G2LWDZQLRRS0=; b=rPAGR/SMEYxdAu poSxDFBFWgveZuNeOUDF2wP41oo3fR4gOkkQRCGDhlUYC7PP0kmotNUpTaE55n0rdvzsCgLhgPnkX LEcOAkiWoHkkw7I9TDj4udq0SujhKNUSMISlZOy3bSCk7Mhj3dGVVv9XTTWDpW/E2dllnLZWsJMgy U7oegXp3ZnPTO8015lkHtFwHWaGWoCAnB7BvCLJU4AIpWp4A3E1CrBkNy2Y7F3P0UUNLoYRdLVklU Fe9mYeyGmKHepHl9ZGoXTjWF5Dt9in3StSf+g335eL+CbPaNiRUU/ii0RBghHq8q/mrUtgSpaLZGE VWQ13qXfy4zxIf9RVamQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJe5M-0004pT-Em; Mon, 05 Nov 2018 12:34:28 +0000 Received: from szxga06-in.huawei.com ([45.249.212.32] helo=huawei.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gJe5J-0004dK-01 for linux-arm-kernel@lists.infradead.org; Mon, 05 Nov 2018 12:34:26 +0000 Received: from DGGEMS414-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id B1337E8D9CBD; Mon, 5 Nov 2018 20:34:04 +0800 (CST) Received: from localhost.localdomain (10.67.212.132) by DGGEMS414-HUB.china.huawei.com (10.3.19.214) with Microsoft SMTP Server id 14.3.408.0; Mon, 5 Nov 2018 20:33:57 +0800 From: Kehong Zhang To: Subject: [RFC] arm64: Kconfig: Choose ARM64_64K_PAGES as default Date: Mon, 5 Nov 2018 20:33:31 +0800 Message-ID: <1541421211-17561-1-git-send-email-zhangkehong@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.67.212.132] X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181105_043425_244312_E416BB3D X-CRM114-Status: GOOD ( 10.25 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Catalin Marinas , Kehong Zhang , Will Deacon Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP For arm64 performance considerations, change default page size to 64K. Cc: Catalin Marinas ; Cc: Will Deacon ; Signed-off-by: Kehong Zhang --- arch/arm64/Kconfig | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 787d785..56f651f 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -620,7 +620,7 @@ endmenu choice prompt "Page size" - default ARM64_4K_PAGES + default ARM64_64K_PAGES help Page size (translation granule) configuration. @@ -639,10 +639,10 @@ config ARM64_16K_PAGES config ARM64_64K_PAGES bool "64KB" help - This feature enables 64KB pages support (4KB by default) - allowing only two levels of page tables and faster TLB - look-up. AArch32 emulation requires applications compiled - with 64K aligned segments. + This feature enables 64KB pages support allowing only two + levels of page tables and faster TLB look-up. AArch32 + emulation requires applications compiled with 64K aligned + segments. endchoice