WSL2-Linux-Kernel/arch/ppc/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
..
Makefile powerpc: Don't compile in arch/ppc/kernel for 32-bit ARCH=powerpc 2006-03-27 20:17:06 +11:00
asm-offsets.c ppc: Fix typo in TI_LOCAL_FLAGS definition 2006-05-29 08:42:34 +10:00
cpu_setup_power4.S ppc32: use L1_CACHE_SHIFT/L1_CACHE_BYTES 2005-10-17 11:50:32 +10:00
dma-mapping.c [PATCH] mm: split highorder pages 2006-03-22 07:53:57 -08:00
entry.S [PATCH] ppc: Fix powersave code on arch/ppc 2006-04-21 22:33:22 +10:00
head.S ppc: Remove CHRP, POWER3 and POWER4 support from arch/ppc 2006-03-28 10:22:10 +11:00
head_4xx.S [PATCH] ppc32: replace use of _GLOBAL with .globl for ppc32 2005-10-20 09:43:34 +10:00
head_8xx.S [PATCH] ppc32/8xx: Fix r3 trashing due to 8MB TLB page instantiation 2006-05-09 16:03:11 +10:00
head_44x.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
head_booke.h [PATCH] ppc32: fix ppc44x fpu build 2005-11-10 11:24:06 +11:00
head_fsl_booke.S [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
machine_kexec.c [PATCH] kdump: dynamic per cpu allocation of memory for saving cpu registers 2006-01-10 08:01:26 -08:00
misc.S ppc: Use the system call table from arch/powerpc/kernel/systbl.S 2006-02-10 16:02:20 +11:00
pci.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
ppc-stub.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ppc_htab.c Merge ../linux-2.6 2006-03-29 13:24:50 +11:00
ppc_ksyms.c powerpc/ppc: export strncasecmp 2006-04-02 16:01:58 -05:00
relocate_kernel.S [PATCH] ppc32: use correct register names in arch/ppc/kernel/relocate_kernel.S 2005-06-30 08:45:09 -07:00
rio.c [PATCH] RapidIO support: ppc32 2005-11-07 07:53:47 -08:00
semaphore.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
setup.c [PATCH] for_each_possible_cpu: ppc 2006-03-29 13:44:16 +11:00
smp-tbsync.c [PATCH] kzalloc() conversion in arch/ppc 2006-03-17 13:20:57 +11:00
smp.c [PATCH] for_each_possible_cpu: ppc 2006-03-29 13:44:16 +11:00
softemu8xx.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
time.c Merge ../linux-2.6 by hand 2005-10-31 13:37:12 +11:00
traps.c [PATCH] powerpc: trivial: modify comments to refer to new location of files 2006-02-10 16:53:51 +11:00
vmlinux.lds.S [PATCH] powerpc: Remove section free() and linker script bits 2005-09-19 09:38:49 +10:00