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 8D201C433EF for ; Thu, 23 Dec 2021 13:15:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348576AbhLWNPF (ORCPT ); Thu, 23 Dec 2021 08:15:05 -0500 Received: from ciao.gmane.io ([116.202.254.214]:46868 "EHLO ciao.gmane.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236068AbhLWNPD (ORCPT ); Thu, 23 Dec 2021 08:15:03 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1n0Nvx-000ANQ-VX for linux-kernel@vger.kernel.org; Thu, 23 Dec 2021 14:15:01 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: linux-kernel@vger.kernel.org From: Sergey Organov Subject: Selecting MMU page size for an architecture Date: Thu, 23 Dec 2021 01:34:45 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, We are building custom CPU and have an option to choose either 4K or 16K MMU minimum page size that will then be fixed in the hardware. For reasons unrelated to the Linux kernel we'd prefer 16K, but I have some doubts. What pros and cons for kernel and user-space operation 16K pages will have over more usual 4K pages? Anything we should worry about? Thanks, -- Sergey Organov