[PATCH v1 2/2] powerpc/code-patching: Convert to open_patch_window()/close_patch_window()
Christophe Leroy
christophe.leroy at csgroup.eu
Fri Mar 15 19:38:09 AEDT 2024
Le 15/03/2024 à 03:59, Benjamin Gray a écrit :
> The existing patching alias page setup and teardown sections can be
> simplified to make use of the new open_patch_window() abstraction.
>
> This eliminates the _mm variants of the helpers, consumers no longer
> need to check mm_patch_enabled(), and consumers no longer need to worry
> about synchronization and flushing beyond the changes they make in the
> patching window.
With this patch, the time needed to activate or de-activate function
tracer is approx 10% longer on powerpc 8xx.
Christophe
More information about the Linuxppc-dev
mailing list