[RFC PATCH 1/2] powerpc: Don't use extable for WARN
Christophe Leroy
christophe.leroy at csgroup.eu
Sat Sep 24 01:49:27 AEST 2022
Le 23/09/2022 à 17:41, Nicholas Piggin a écrit :
> extable is used for handling user memory access faults from kernel mode,
> as such it is a fast-ish path. Using it in the very slow WARN path
> increases the number of extable entries from 1306 to 6516 in a
> ppc64le_defconfig vmlinux, increasing the average number of search
> steps by ~2.3.
>
> This patch adds a recovery address to the bug_entry struct instead of
> using the extable. The size of the bug entry table plus the extable
> go from 137kB to 126kB.
That's fine, but it means that some additional work will have to be done
in objtool.
Christophe
More information about the Linuxppc-dev
mailing list