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 X-Spam-Level: X-Spam-Status: No, score=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF053C433B4 for ; Tue, 20 Apr 2021 10:50:53 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 826CA61164 for ; Tue, 20 Apr 2021 10:50:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 826CA61164 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Subject:Cc:To: From:Message-ID:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Y8IFJPDmTjTUhQ7LYUPWqj+8BOjuR+tNl0EIowtJeQ0=; b=EE3bne9Y3tFYH1XIiPAM8X14M 5n7o9waofdAKnISGr2lrs94IbFxRqQu5GjOwdXY/qazgKlpDnAW08ekrYXFDqpvX1gdkF4ESIT1PV E+tRrKoJOoqcvFubEhz0Pg6dq0kHPjaeb7JKxoXdQD7+QgsVVxt3voJ49VDu0BoG0v4gvBB39o6MO /+/ezuKRm2Q0fOz+zB51wjLaAXRPS1HVfRiH0QjyQZkoYZWPnDKqoi/MsPTohRVxxy520rvS7uK5Q iassP2zyeS7DdGdtDR3kA0bVjoZxwvnlmSoWLHYiBqziToNiCAb1n9bGybZm3KI47A+gnaJXIb2jY K25LjCgqQ==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lYnut-00BuPQ-P9; Tue, 20 Apr 2021 10:47:39 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYnur-00BuPL-51 for linux-arm-kernel@desiato.infradead.org; Tue, 20 Apr 2021 10:47:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type:MIME-Version:References: In-Reply-To:Subject:Cc:To:From:Message-ID:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=uXxK52brwpxJ9J7EepvzMZ7QkgkE2gVwWMV56qFO1QY=; b=xjSskivdC+hwbkqRFoKpCN+R1D hV0ThqGdh4nzv/9Hw0w6HwwonZxRlHc/tOcuYUDYoUDQiVN2+B3GW6bhNQ7MyGS2/VnlYKKHsKRPj adwhVmhlcA/fdnYVRDEyl5ceovy1gBaofNPHP3uQHtMv+9rGVVN7EIgoSZLZbYpjW9YWhZHyWIP3s MTS+Ff0lFzVMVmbQPWzybiES1exRSZGzI70uYiMIH11ObWz8nE0kfhCx0Rt7o7F9Su3bfhjru1iBz kwCf3spVvhygDucToSonHMEMop4SRuzxLmMV5aLOFSjWzmoHaeP5N/g4IAlXmJRV7BbjOGj69Nbui MzSLMyAg==; Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lYnuo-00C2Q2-PI for linux-arm-kernel@lists.infradead.org; Tue, 20 Apr 2021 10:47:35 +0000 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 426C561164; Tue, 20 Apr 2021 10:47:34 +0000 (UTC) Received: from 78.163-31-62.static.virginmediabusiness.co.uk ([62.31.163.78] helo=why.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lYnum-008TO8-48; Tue, 20 Apr 2021 11:47:32 +0100 Date: Tue, 20 Apr 2021 11:47:31 +0100 Message-ID: <87czupqlks.wl-maz@kernel.org> From: Marc Zyngier To: Catalin Marinas Cc: linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Mark Rutland , Anshuman Khandual , Will Deacon Subject: Re: [PATCH] arm64: Force SPARSEMEM_VMEMMAP as the only memory management model In-Reply-To: <20210420093559.23168-1-catalin.marinas@arm.com> References: <20210420093559.23168-1-catalin.marinas@arm.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-SA-Exim-Connect-IP: 62.31.163.78 X-SA-Exim-Rcpt-To: catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org, ardb@kernel.org, mark.rutland@arm.com, anshuman.khandual@arm.com, will@kernel.org X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210420_034734_876171_F1043A3D X-CRM114-Status: GOOD ( 16.69 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 20 Apr 2021 10:35:59 +0100, Catalin Marinas wrote: > > Currently arm64 allows a choice of FLATMEM, SPARSEMEM and > SPARSEMEM_VMEMMAP. However, only the latter is tested regularly. FLATMEM > does not seem to boot in certain configurations (guest under KVM with > Qemu as a VMM). Since the reduction of the SECTION_SIZE_BITS to 27 (4K > pages) or 29 (64K page), there's little argument against the memory > wasted by the mem_map array with SPARSEMEM. > > Make SPARSEMEM_VMEMMAP the only available option, non-selectable, and > remove the corresponding #ifdefs under arch/arm64/. > > Signed-off-by: Catalin Marinas > Cc: Will Deacon Acked-by: Marc Zyngier M. -- Without deviation from the norm, progress is not possible. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel