Re: [PATCH v1 2/2] powerpc/code-patching: Convert to open_patch_window()/close_patch_window()
From: Christophe Leroy <hidden>
Date: 2024-03-15 08:39:22
From: Christophe Leroy <hidden>
Date: 2024-03-15 08:39:22
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