aboutsummaryrefslogtreecommitdiff
path: root/kernel/user_namespace.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2021-02-16 22:39:41 -0800
committerMax Filippov <jcmvbkbc@gmail.com>2021-04-04 15:39:03 -0700
commit4f22ca7e192ee313a83f8093ba5b5b2ca72d10e4 (patch)
treee6732ce400847258d0c6820d787ac3c1a6420dd6 /kernel/user_namespace.c
parent2da7559452504f8f8d9950708f293b636e483b21 (diff)
xtensa: simplify coherent_kvaddr logic
Functions coherent_kvaddr, clear_page_alias and copy_page_alias use physical address 0 as a special value that means 'this page is in the KSEG mapping and its existing virtual address has the same color as the virtual address of its future mapping, so don't map it to the TLBTEMP_BASE area'. Simplify this logic and drop special handling of low memory pages/pages with coherent mapping and always use TLBTEMP_BASE area. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'kernel/user_namespace.c')
0 files changed, 0 insertions, 0 deletions