diff options
author | Hugh Dickins <hugh@veritas.com> | 2005-10-29 18:16:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-10-29 21:40:41 -0700 |
commit | 60ec5585496871345c1a8113d7b60ed9d9474866 (patch) | |
tree | 172df570995ec777ca2a271dda7e3fcbb2dc5acb /arch/sh64/oprofile/op_model_null.c | |
parent | deceb6cd17e6dfafe4c4f81b1b4153bc41b2cb70 (diff) | |
download | kernel_samsung_smdk4412-60ec5585496871345c1a8113d7b60ed9d9474866.zip kernel_samsung_smdk4412-60ec5585496871345c1a8113d7b60ed9d9474866.tar.gz kernel_samsung_smdk4412-60ec5585496871345c1a8113d7b60ed9d9474866.tar.bz2 |
[PATCH] mm: i386 sh sh64 ready for split ptlock
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>
Diffstat (limited to 'arch/sh64/oprofile/op_model_null.c')
0 files changed, 0 insertions, 0 deletions