diff options
| author | Christophe Leroy <[email protected]> | 2021-06-03 08:41:37 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2021-06-17 00:09:07 +1000 |
| commit | 91bb30822a2e1d7900f9f42e9e92647a9015f979 (patch) | |
| tree | 65b175ba7614d99c0cfe3a49a1f4504cca0d7e4a /tools/perf/scripts/python/bin | |
| parent | 91ec66719d4c5c0e7b4e32585b01881660d1bc53 (diff) | |
powerpc/32s: Refactor update of user segment registers
KUEP implements the update of user segment registers.
Move it into mmu-hash.h in order to use it from other places.
And inline kuep_lock() and kuep_unlock(). Inlining kuep_lock() is
important for system_call_exception(), otherwise system_call_exception()
has to save into stack the system call parameters that are used just
after, and doing that takes more instructions than kuep_lock() itself.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/24591ca480d14a62ef910e38a5273d551262c4a2.1622708530.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions