kernel-hacking-2024-linux-s.../arch/powerpc/mm
Peter Zijlstra f342552b91 powerpc/mm: Make hpte_need_flush() safe for preemption
hpte_need_flush() might be called outside of a preempt section
when manipulating the kernel page tables, so we need to use the
appopriate variants of per-cpu variable accesses. There should
be no risk of being in the middle of a batch and a context
switch will flush any pending batch.

[Patch extracted from a larger patch in Peter's preemptible
 mmu_gather series]

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2011-03-02 14:56:48 +11:00
..
40x_mmu.c
44x_mmu.c
dma-noncoherent.c
fault.c
fsl_booke_mmu.c
gup.c thp: alter compound get_page/put_page 2011-01-13 17:32:39 -08:00
hash_low_32.S
hash_low_64.S
hash_native_64.c
hash_utils_64.c powerpc/mm: Avoid avoidable void* pointer 2010-11-29 15:48:23 +11:00
highmem.c
hugetlbpage-hash64.c
hugetlbpage.c
init_32.c
init_64.c
Makefile
mem.c
mmap_64.c
mmu_context_hash32.c
mmu_context_hash64.c
mmu_context_nohash.c powerpc: Cleanup APIs for cpu/thread/core mappings 2010-11-29 15:48:19 +11:00
mmu_decl.h
numa.c powerpc/numa: Fix bug in unmap_cpu_from_node 2011-02-07 13:06:06 +11:00
pgtable.c powerpc: Use call_rcu_sched() for pagetables 2010-11-30 10:42:20 +11:00
pgtable_32.c powerpc: Remove unnecessary casts of void ptr 2010-12-09 15:36:30 +11:00
pgtable_64.c powerpc: Record vma->phys_addr in ioremap() 2010-12-09 15:35:32 +11:00
ppc_mmu_32.c
slb.c
slb_low.S
slice.c
stab.c
subpage-prot.c
tlb_hash32.c
tlb_hash64.c powerpc/mm: Make hpte_need_flush() safe for preemption 2011-03-02 14:56:48 +11:00
tlb_low_64e.S powerpc/mm: Fix module instruction tlb fault handling on Book-E 64 2010-11-18 14:54:23 +11:00
tlb_nohash.c
tlb_nohash_low.S