android_kernel_xiaomi_sm8350/arch/cris
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
..
arch-v10 [PATCH] fallout from ptrace consolidation patch: cris/arch-v10 2006-02-07 20:57:19 -05:00
arch-v32 [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
kernel [PATCH] No arch-specific strpbrk implementations 2006-04-11 06:18:40 -07:00
mm [PATCH] remove set_page_count() outside mm/ 2006-03-22 07:54:02 -08:00
defconfig
Kconfig [PATCH] bitops: cris: use generic bitops 2006-03-26 08:57:12 -08:00
Kconfig.debug
Makefile cris: asm-offsets related build failure 2006-01-21 12:04:14 +01:00