Files
erofs-linux/mm
Christoph Lameter 0dc952dc3e [PATCH] Page migration: Fix vma flag checking
Currently we do not check for vma flags if sys_move_pages is called to move
individual pages.  If sys_migrate_pages is called to move pages then we
check for vm_flags that indicate a non migratable vma but that still
includes VM_LOCKED and we can migrate mlocked pages.

Extract the vma_migratable check from mm/mempolicy.c, fix it and put it
into migrate.h so that is can be used from both locations.

Problem was spotted by Lee Schermerhorn

Signed-off-by: Christoph Lameter <[email protected]>
Signed-off-by: Lee Schermerhorn <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
2007-03-05 07:57:51 -08:00
..
…
…
…
…
2007-02-11 10:51:17 -08:00
…
…
2007-01-11 18:18:20 -08:00
2007-02-15 09:57:03 -08:00
…
2007-03-01 14:53:38 -08:00
…
…
…
…
…
2007-02-11 10:51:18 -08:00
…
…
…
…
…