android_kernel_xiaomi_sm8350/arch/arm/kernel
Christoph Lameter 68402ddc67 [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM
Remove VM_LOCKED before remap_pfn range from device drivers and get rid of
VM_SHM.

remap_pfn_range() already sets VM_IO.  There is no need to set VM_SHM since
it does nothing.  VM_LOCKED is of no use since the remap_pfn_range does not
place pages on the LRU.  The pages are therefore never subject to swap
anyways.  Remove all the vm_flags settings before calling remap_pfn_range.

After removing all the vm_flag settings no use of VM_SHM is left.  Drop it.

Signed-off-by: Christoph Lameter <clameter@sgi.com>
Acked-by: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-25 10:00:55 -07:00
..
apm.c
armksyms.c
arthur.c
asm-offsets.c
bios32.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
calls.S
compat.c
compat.h
debug.S
dma-isa.c [ARM] arch/arm/kernel/dma-isa.c: named initializers 2006-05-16 22:09:46 +01:00
dma.c
ecard.c
entry-armv.S [ARM] Add thread_notify infrastructure 2006-06-22 10:24:18 +01:00
entry-common.S [ARM] 3335/1: Old-abi Thumb sys_syscall broken 2006-06-18 16:16:57 +01:00
entry-header.S
fiq.c
head-common.S
head-nommu.S
head.S
init_task.c
io.c
irq.c [PATCH] make noirqdebug/irqfixup __read_mostly, add (un)likely() 2006-06-23 07:43:05 -07:00
isa.c
iwmmxt.S [ARM] 3632/1: iwmmxt: fix up argument comment for iwmmxt_task_restore() 2006-06-24 09:57:13 +01:00
Makefile
module.c
process.c [ARM] Add thread_notify infrastructure 2006-06-22 10:24:18 +01:00
ptrace.c
ptrace.h
semaphore.c
setup.c
signal.c Merge signal handler branch 2006-06-24 23:53:01 +01:00
signal.h
smp.c
sys_arm.c
sys_oabi-compat.c
time.c [ARM] 3554/1: ARM: Fix dyntick locking 2006-06-18 16:26:58 +01:00
traps.c
vmlinux.lds.S