[GIT PULL] ARM: module PLT optimizations

Ard Biesheuvel ard.biesheuvel at linaro.org
Mon Sep 12 07:35:53 PDT 2016


On 30 August 2016 at 17:57, Ard Biesheuvel <ard.biesheuvel at linaro.org> wrote:
> Hello Russell,
>
> The following changes since commit 3eab887a55424fc2c27553b7bfe32330df83f7b8:
>
>   Linux 4.8-rc4 (2016-08-28 15:04:33 -0700)
>
> are available in the git repository at:
>
>   git://git.linaro.org/people/ard.biesheuvel/linux-arm.git \
>                                           tags/arm-plt-optimizations-for-v4.9
>
> for you to fetch changes up to 66e94ba3c8ea5ff5f1443a50441f953ef44010b1:
>
>   ARM: kernel: avoid brute force search on PLT generation
>                                           (2016-08-30 17:45:34 +0100)
>
> ----------------------------------------------------------------
> This series of 4 patches optimizes the ARM PLT generation code that
> is invoked at module load time, to get rid of the O(n^2) algorithm
> that results in pathological load times of 10 seconds or more for
> large modules on certain STB platforms
>
> ----------------------------------------------------------------
> Ard Biesheuvel (4):
>       ARM: kernel: merge core and init PLTs
>       ARM: kernel: allocate PLT entries only for external symbols
>       ARM: kernel: sort relocation sections before allocating PLTs
>       ARM: kernel: avoid brute force search on PLT generation
>
>  arch/arm/include/asm/module.h |   6 +-
>  arch/arm/kernel/module-plts.c | 243 +++++++++++++++++++++++++-----------------
>  arch/arm/kernel/module.lds    |   3 +-
>  3 files changed, 147 insertions(+), 105 deletions(-)
>

Ping?



More information about the linux-arm-kernel mailing list