diff options
author | 2023-09-25 20:31:38 +0200 | |
---|---|---|
committer | 2023-10-19 17:12:46 +1100 | |
commit | a78587473642aec302697cdaceb719a7f8791369 (patch) | |
tree | 2b16d51c31c4c84c3d49ba4899e8adfaa0ac54f3 /tools/perf/scripts/python/stackcollapse.py | |
parent | powerpc: Remove pte_mkuser() and pte_mkpriviledged() (diff) | |
download | wireguard-linux-a78587473642aec302697cdaceb719a7f8791369.tar.xz wireguard-linux-a78587473642aec302697cdaceb719a7f8791369.zip |
powerpc: Rely on address instead of pte_user()
pte_user() may return 'false' when a user page is PAGE_NONE.
In that case it is still a user page and needs to be handled
as such. So use is_kernel_addr() instead.
And remove "user" text from ptdump as ptdump only dumps
kernel tables.
Note: no change done for book3s/64 which still has it
'priviledge' bit.
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/c778dad89fad07727c31717a9c62f45357c29ebc.1695659959.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions