1
linux/arch/i386/pci
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
..
acpi.c [PATCH] PCI: arch/i386/pci/acpi.c: use for_each_pci_dev 2006-01-09 12:13:15 -08:00
common.c [PATCH] PCI: i386/x86_84: disable PCI resource decode on device disable 2006-06-21 11:59:59 -07:00
direct.c [PATCH] i386/x86-64: Remove checks for value == NULL in PCI config space access 2006-04-11 06:38:57 -07:00
fixup.c [PATCH] gx1fb: (try to) play nicer with various BIOSes 2006-01-14 18:27:14 -08:00
i386.c [PATCH] mm: remove VM_LOCKED before remap_pfn_range and drop VM_SHM 2006-06-25 10:00:55 -07:00
init.c [PATCH] PCI: Give PCI config access initialization a defined ordering 2006-03-23 14:35:12 -08:00
irq.c [PATCH] x86: constify arch/i386/pci/irq.c 2006-06-23 07:42:58 -07:00
legacy.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
Makefile [PATCH] PCI: Give PCI config access initialization a defined ordering 2006-03-23 14:35:12 -08:00
mmconfig.c [PATCH] PCI: fix issues with extended conf space when MMCONFIG disabled because of e820 2006-06-21 12:00:01 -07:00
numa.c [PATCH] acpi bridge hotadd: ACPI based root bridge hot-add 2005-06-27 21:52:39 -07:00
pcbios.c [PATCH] PCI: Give PCI config access initialization a defined ordering 2006-03-23 14:35:12 -08:00
pci.h [PATCH] PCI: i386/x86_84: disable PCI resource decode on device disable 2006-06-21 11:59:59 -07:00
visws.c [PATCH] visws: linkage fix 2005-08-07 10:00:38 -07:00