60ec558549
Use pte_offset_map_lock, instead of pte_offset_map (or inappropriate pte_offset_kernel) and mm-wide page_table_lock, in sundry arch places. The i386 vm86 mark_screen_rdonly: yes, there was and is an assumption that the screen fits inside the one page table, as indeed it does. The sh __do_page_fault: which handles both kernel faults (without lock) and user mm faults (locked - though it set_pte without locking before). The sh64 flush_cache_range and helpers: which wrongly thought callers held page_table_lock before (only its tlb_start_vma did, and no longer does so); moved the flush loop down, and adjusted the large versus small range decision to consider a range which spans page tables as large. Signed-off-by: Hugh Dickins <hugh@veritas.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> |
||
---|---|---|
.. | ||
cache-sh2.c | ||
cache-sh3.c | ||
cache-sh4.c | ||
cache-sh7705.c | ||
clear_page.S | ||
consistent.c | ||
copy_page.S | ||
extable.c | ||
fault-nommu.c | ||
fault.c | ||
hugetlbpage.c | ||
init.c | ||
ioremap.c | ||
Makefile | ||
pg-dma.c | ||
pg-nommu.c | ||
pg-sh4.c | ||
pg-sh7705.c | ||
tlb-nommu.c | ||
tlb-sh3.c | ||
tlb-sh4.c |