linux/arch/m68k/kernel
Davidlohr Bueso cd2567b685 m68k: call find_vma with the mmap_sem held in sys_cacheflush()
Performing vma lookups without taking the mm->mmap_sem is asking for
trouble.  While doing the search, the vma in question can be modified or
even removed before returning to the caller.  Take the lock (shared) in
order to avoid races while iterating through the vmacache and/or rbtree.
In addition, this guarantees that the address space will remain intact
during the CPU flushing.

Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2014-10-09 22:26:02 -04:00
..
.gitignore
Makefile m68k: Multi-platform EARLY_PRINTK 2014-05-28 10:10:04 +02:00
asm-offsets.c
bootinfo_proc.c
dma.c
early_printk.c m68k/mvme16x: Adopt common boot console 2014-05-28 10:11:53 +02:00
entry.S
head.S m68k: Fix boot regression on machines with RAM at non-zero 2014-07-10 09:58:26 +02:00
ints.c
irq.c
m68k_ksyms.c
machine_kexec.c
module.c
module.lds
pcibios.c
process.c
ptrace.c
relocate_kernel.S
setup.c
setup_mm.c
setup_no.c m68k: fix a compiler warning when building for DragonBall 2014-05-26 13:28:36 +10:00
signal.c m68k: Use sigsp() 2014-08-06 13:04:09 +02:00
sun3-head.S
sys_m68k.c m68k: call find_vma with the mmap_sem held in sys_cacheflush() 2014-10-09 22:26:02 -04:00
syscalltable.S m68k: Wire up memfd_create 2014-09-01 10:28:00 +02:00
time.c m68k: Export mach_random_get_entropy to modules 2014-07-11 10:37:53 +02:00
traps.c
vectors.c
vmlinux-nommu.lds
vmlinux-std.lds
vmlinux-sun3.lds
vmlinux.lds.S