android_kernel_xiaomi_sm8350/arch/cris/arch-v32
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
..
boot [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
drivers [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
kernel [PATCH] cris: task_thread_info() 2006-01-12 09:08:58 -08:00
lib [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
mm [PATCH] cris: task_thread_info() 2006-01-12 09:08:58 -08:00
Kconfig [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
output_arch.ld [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
vmlinux.lds.S [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00