diff options
author | Christophe Leroy <[email protected]> | 2024-08-20 19:23:57 +0200 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2024-08-30 21:29:54 +1000 |
commit | 3f57d90c231d3329aaed7079dd05b5a2f7692a58 (patch) | |
tree | c6ef7db3b35608ea362d99020ca8cef97827825f /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 31c0e137ec609f36877ea39cd343ef2476d080aa (diff) |
powerpc/603: Inconditionally use task PGDIR in ITLB misses
Now that modules exec page tables are preallocated, the instruction
TLBmiss handler can use task PGDIR inconditionally.
Also revise the identification of user vs kernel user space by doing
a calculation instead of a comparison: Get the segment number and
subtract the number of the first kernel segment. The result is
positive for kernel addresses and negative for user addresses,
which means that upper 2 bits are 0 for kernel and 3 for user.
Signed-off-by: Christophe Leroy <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/9a3242162ad2faab8019c698e501b326a126ee9e.1724173828.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions