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
..
2006-05-21 12:59:22 -07:00
2006-06-24 17:22:17 +10:00
2006-03-29 13:24:50 +11:00
2006-03-29 13:24:50 +11:00
2005-04-16 15:20:36 -07:00
2006-05-31 16:27:11 -07:00
2005-10-29 19:31:01 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-24 18:53:18 +01:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-03-24 18:53:18 +01:00
2005-04-16 15:20:36 -07:00
2006-01-12 09:09:05 -08:00
2005-04-16 15:20:36 -07:00
2006-03-25 08:22:52 -08:00
2006-03-31 12:19:00 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-02-15 10:13:02 +00:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2006-01-17 15:53:11 -08:00
2005-04-16 15:20:36 -07:00
2006-03-11 09:19:36 -08:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00