linux/arch/xtensa/mm
Max Filippov a91902db29 xtensa: implement clear_user_highpage and copy_user_highpage
Existing clear_user_page and copy_user_page cannot be used with highmem
because they calculate physical page address from its virtual address
and do it incorrectly in case of high memory page mapped with
kmap_atomic. Also kmap is not needed, as most likely userspace mapping
color would be different from the kmapped color.

Provide clear_user_highpage and copy_user_highpage functions that
determine if temporary mapping is needed for the pages. Move most of the
logic of the former clear_user_page and copy_user_page to
xtensa/mm/cache.c only leaving temporary mapping setup, invalidation and
clearing/copying in the xtensa/mm/misc.S. Rename these functions to
clear_page_alias and copy_page_alias.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
2014-08-14 11:59:20 +04:00
..
cache.c xtensa: implement clear_user_highpage and copy_user_highpage 2014-08-14 11:59:20 +04:00
fault.c xtensa: add SMP support 2014-01-14 10:19:58 -08:00
highmem.c xtensa: make fixmap region addressing grow with index 2014-08-14 11:59:17 +04:00
init.c xtensa: fix sysmem reservation at the end of existing block 2014-06-09 22:29:12 +04:00
Makefile xtensa: add HIGHMEM support 2014-04-06 21:29:21 +04:00
misc.S xtensa: implement clear_user_highpage and copy_user_highpage 2014-08-14 11:59:20 +04:00
mmu.c xtensa: allow fixmap and kmap span more than one page table 2014-08-14 11:59:18 +04:00
tlb.c xtensa: optimize local_flush_tlb_kernel_range 2014-04-06 21:29:17 +04:00