diff options
author | Huang Pei <[email protected]> | 2021-02-25 17:22:49 -0800 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2021-02-26 09:41:05 -0800 |
commit | f685a533a7fab35c5d069dcd663f59c8e4171a75 (patch) | |
tree | 5962d85a0301fdb9c4e9077956f7ffd8e43f29aa /scripts/gdb/linux/tasks.py | |
parent | dd23e8098f33a55b22b869bc7fc0a795ccbb9f87 (diff) |
MIPS: make userspace mapping young by default
MIPS page fault path(except huge page) takes 3 exceptions (1 TLB Miss + 2
TLB Invalid), butthe second TLB Invalid exception is just triggered by
__update_tlb from do_page_fault writing tlb without _PAGE_VALID set. With
this patch, user space mapping prot is made young by default (with both
_PAGE_VALID and _PAGE_YOUNG set), and it only take 1 TLB Miss + 1 TLB
Invalid exception
Remove pte_sw_mkyoung without polluting MM code and make page fault delay
of MIPS on par with other architecture
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Huang Pei <[email protected]>
Reviewed-by: Nicholas Piggin <[email protected]>
Acked-by: <[email protected]>
Acked-by: Thomas Bogendoerfer <[email protected]>
Cc: Christophe Leroy <[email protected]>
Cc: <[email protected]>
Cc: Bibo Mao <[email protected]>
Cc: Jiaxun Yang <[email protected]>
Cc: Paul Burton <[email protected]>
Cc: Li Xuefeng <[email protected]>
Cc: Yang Tiezhu <[email protected]>
Cc: Gao Juxin <[email protected]>
Cc: Fuxin Zhang <[email protected]>
Cc: Huacai Chen <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions