[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <159368896834.26148.7850220822704601386.b4-ty@arm.com>
Date: Thu, 2 Jul 2020 12:24:10 +0100
From: Catalin Marinas <catalin.marinas@....com>
To: Will Deacon <will@...nel.org>,
Saravana Kannan <saravanak@...gle.com>
Cc: Ard Biesheuvel <ard.biesheuvel@...aro.org>,
kernel-team@...roid.com, linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] arm64/module: Optimize module load time by optimizing PLT counting
On Mon, 22 Jun 2020 18:18:02 -0700, Saravana Kannan wrote:
> When loading a module, module_frob_arch_sections() tries to figure out
> the number of PLTs that'll be needed to handle all the RELAs. While
> doing this, it tries to dedupe PLT allocations for multiple
> R_AARCH64_CALL26 relocations to the same symbol. It does the same for
> R_AARCH64_JUMP26 relocations.
>
> To make checks for duplicates easier/faster, it sorts the relocation
> list by type, symbol and addend. That way, to check for a duplicate
> relocation, it just needs to compare with the previous entry.
>
> [...]
Applied to arm64 (for-next/misc), thanks!
[1/1] arm64/module: Optimize module load time by optimizing PLT counting
https://git.kernel.org/arm64/c/d4e0340919fb
--
Catalin
Powered by blists - more mailing lists