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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D3341C4345F for ; Fri, 12 Apr 2024 22:45:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ivq3mBUObmpR4MLkLdWerOJBBJ4DsIPa+0GmcdrJ6Ow=; b=kqFwv3aw8dqbJE 83up72iyONPtFMlOPy27nBJEIoTPvmr1xqNWOFGGVsa5MrUsNjrZMbO5XQsqHdI58/gwdoBGWrx5Y ze5s/gy9+KVfh1WCeHC8oLCR4fj0mI+jSxF+dQLJNM3kFhU/R41BH6OCkrtcjBIgT/0zMsEJainyX APItUHgeIEwjg5BVmpNzBDRS6OeQsaTD5bXGC2dBEM36MxUPqctpUtwW/5FFZf0TXDeUuQNMOTzYt G6bheH2Dx+kePvxCLuvhaJoLZpqBp32yRXInuztivxbKRqlNui2f+rPQtC5ODnCl5xFyQXjrsV/NE bVGaR1swYGOXadcRl2Yg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvPdZ-00000001Zyn-0j0w; Fri, 12 Apr 2024 22:44:49 +0000 Received: from out-184.mta1.migadu.com ([95.215.58.184]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvPdV-00000001ZxM-2CG2 for linux-arm-kernel@lists.infradead.org; Fri, 12 Apr 2024 22:44:47 +0000 Date: Wed, 10 Apr 2024 21:53:41 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1712961877; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bK7KfBMPyOIucwDtN0e7NfhXAX7dIzQN2rgbT78Breo=; b=S9p6DXVRqT4Q3RBVm7Uq9aPDAJOOzIiSGngKqvRMvNWI8kHldgoRu+I3oxpRc8RPeCTXYE rNPpTaRupbgiEaYYO+Wb9MdGx5CS1G/ZS+NpHFGPZgs4dI7FECqKaBUKjvrNuPLzlwPpCm KonJVHhiEGrZwSX6WL6pvVmUyuIlROA= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Itaru Kitayama To: Will Deacon Cc: Catalin Marinas , Mark Rutland , Ard Biesheuvel , David Hildenbrand , Donald Dutile , Eric Chanudet , Ryan Roberts , kernel-team@android.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 0/3] Speed up boot with faster linear map creation Message-ID: References: <20240412131908.433043-1-ryan.roberts@arm.com> <171293670589.3659902.6442840474459477952.b4-ty@kernel.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <171293670589.3659902.6442840474459477952.b4-ty@kernel.org> X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240412_154446_108745_37FDCDAF X-CRM114-Status: GOOD ( 15.55 ) 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 Fri, Apr 12, 2024 at 05:06:41PM +0100, Will Deacon wrote: > On Fri, 12 Apr 2024 14:19:05 +0100, Ryan Roberts wrote: > > It turns out that creating the linear map can take a significant proportion of > > the total boot time, especially when rodata=full. And most of the time is spent > > waiting on superfluous tlb invalidation and memory barriers. This series reworks > > the kernel pgtable generation code to significantly reduce the number of those > > TLBIs, ISBs and DSBs. See each patch for details. > > > > The below shows the execution time of map_mem() across a couple of different > > systems with different RAM configurations. We measure after applying each patch > > and show the improvement relative to base (v6.9-rc2): > > > > [...] > > Applied to arm64 (for-next/mm), thanks! > > [1/3] arm64: mm: Don't remap pgtables per-cont(pte|pmd) block > https://git.kernel.org/arm64/c/5c63db59c5f8 > [2/3] arm64: mm: Batch dsb and isb when populating pgtables > https://git.kernel.org/arm64/c/1fcb7cea8a5f > [3/3] arm64: mm: Don't remap pgtables for allocate vs populate > https://git.kernel.org/arm64/c/0e9df1c905d8 I confirm this series boots the system on FVP (with my .config and my buildroot rootfs using Shrinkwrap). Tested-by: Itaru Kitayama Thanks, Itaru. > > Cheers, > -- > Will > > https://fixes.arm64.dev > https://next.arm64.dev > https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel