android_kernel_xiaomi_sm8350/arch/xtensa/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
..
align.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
asm-offsets.c
coprocessor.S
entry.S [PATCH] xtensa: remove verify_area macros 2006-06-23 07:43:02 -07:00
head.S
irq.c [PATCH] more for_each_cpu() conversions 2006-03-23 07:38:17 -08:00
Makefile
module.c
pci-dma.c [PATCH] gfp_t: dma-mapping (xtensa) 2005-10-28 08:16:49 -07:00
pci.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
platform.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
process.c [PATCH] add missing pm_power_off's 2006-03-06 18:40:44 -08:00
ptrace.c [PATCH] xtensa: task_pt_regs(), task_stack_page() 2006-01-12 09:08:54 -08:00
semaphore.c
setup.c [PATCH] xtensa: remove io_remap_page_range and minor clean-ups 2005-09-22 22:17:37 -07:00
signal.c [PATCH] fix incorrect SA_ONSTACK behaviour for 64-bit processes 2006-06-23 07:43:05 -07:00
syscalls.c
syscalls.h
time.c spelling: s/usefull/useful/ 2006-01-10 00:08:17 +01:00
traps.c [PATCH] xtensa: use ssleep() instead of schedule_timeout() 2005-07-12 16:01:01 -07:00
vectors.S kbuild: m68k,parisc,ppc,ppc64,s390,xtensa use generic asm-offsets.h support 2005-09-09 20:57:26 +02:00
vmlinux.lds.S
xtensa_ksyms.c [PATCH] No arch-specific strpbrk implementations 2006-04-11 06:18:40 -07:00