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 <clameter@sgi.com>
Signed-off-by: Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-03-05 07:57:51 -08:00
..
2007-03-01 14:53:39 -08:00
2007-02-12 11:13:14 -08:00
2007-02-14 08:09:53 -08:00
2007-02-12 09:48:31 -08:00
2007-02-20 17:10:12 -08:00
2007-02-23 15:03:46 -08:00
2007-02-16 08:13:58 -08:00
2007-02-13 02:58:52 -05:00
2007-02-23 05:37:11 -05:00
2007-02-12 09:48:44 -08:00
2007-02-17 21:30:15 -05:00
2007-02-20 17:10:15 -08:00
2007-02-20 09:26:53 +00:00
2007-02-13 13:26:26 +01:00
2007-02-12 09:48:29 -08:00
2007-02-20 17:10:14 -08:00
2007-02-20 17:10:14 -08:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:14:00 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:40 -08:00
2007-02-26 14:55:48 -08:00
2007-02-20 17:10:13 -08:00
2007-02-12 09:48:44 -08:00
2007-02-16 15:19:17 -08:00
2007-02-23 14:52:08 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:46 -08:00
2007-02-17 19:20:16 +01:00
2007-02-12 09:48:46 -08:00
2007-02-20 08:38:46 +00:00
2007-02-12 09:48:47 -08:00
2007-02-12 09:48:30 -08:00
2007-03-05 07:57:51 -08:00
2007-02-16 08:13:59 -08:00
2007-03-01 09:54:44 +01:00
2007-03-01 14:53:37 -08:00
2007-03-01 17:18:39 -08:00
2007-02-13 22:09:01 +01:00
2007-02-13 22:09:00 +01:00
2007-03-03 17:48:53 +01:00
2007-03-02 20:44:51 -08:00
2007-02-12 09:48:32 -08:00
2007-02-12 09:48:37 -08:00
2007-02-19 14:21:50 -08:00
2007-03-01 14:53:38 -08:00
2007-02-16 08:13:56 -08:00
2007-02-12 09:48:30 -08:00
2007-02-20 17:10:13 -08:00
2007-02-12 09:48:31 -08:00
2007-02-16 14:37:06 +00:00
2007-02-23 14:54:57 -08:00
2007-02-20 17:10:14 -08:00
2007-02-16 08:13:59 -08:00
2007-03-04 11:12:40 +02:00
2007-03-04 11:12:42 +02:00
2007-02-20 09:26:53 +00:00
2007-03-02 18:30:35 -05:00
2007-02-12 09:48:29 -08:00
2007-02-17 19:17:37 +01:00
2007-03-04 11:12:43 +02:00
2007-03-05 07:57:51 -08:00
2007-02-20 17:10:13 -08:00
2007-03-01 14:53:35 -08:00
2007-02-17 01:09:12 -05:00
2007-02-16 15:19:18 -08:00
2007-02-19 13:29:02 -08:00
2007-02-12 09:48:46 -08:00
2007-03-02 20:16:10 -05:00
2007-02-12 09:48:46 -08:00
2007-02-12 11:11:55 -08:00
2007-02-12 09:48:36 -08:00
2007-02-16 08:14:01 -08:00
2007-02-16 08:14:01 -08:00
2007-02-12 22:43:25 -08:00
2007-02-12 22:43:25 -08:00
2007-02-13 13:26:24 +01:00
2007-02-20 17:10:13 -08:00
2007-03-01 14:53:37 -08:00
2007-02-17 15:17:05 -05:00
2007-03-05 07:57:50 -08:00
2007-03-05 07:57:50 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:32 -08:00
2007-02-23 14:52:09 -08:00
2007-02-14 08:10:00 -08:00
2007-02-12 09:48:46 -08:00
2007-02-12 09:48:28 -08:00
2007-02-12 09:48:44 -08:00
2007-02-12 09:48:46 -08:00
2007-03-05 07:57:51 -08:00
2007-02-12 09:48:44 -08:00
2007-02-17 19:07:33 +01:00
2007-02-14 08:09:52 -08:00
2007-02-14 08:09:52 -08:00
2007-02-18 01:40:30 -05:00
2007-03-01 17:18:39 -08:00
2007-02-20 17:10:14 -08:00
2007-02-20 17:10:14 -08:00
2007-02-28 09:41:59 -08:00
2007-02-28 09:41:59 -08:00
2007-02-12 09:48:41 -08:00
2007-02-20 17:10:13 -08:00
2007-02-14 08:10:00 -08:00
2007-03-01 17:22:04 -08:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:13:57 -08:00
2007-02-16 08:13:59 -08:00
2007-02-16 08:13:56 -08:00
2007-03-05 07:57:51 -08:00
2007-02-12 09:48:42 -08:00
2007-02-12 09:48:32 -08:00
2007-02-12 09:48:40 -08:00
2007-02-12 09:48:30 -08:00
2007-02-12 09:48:46 -08:00
2007-02-16 15:32:19 -08:00
2007-02-23 15:03:46 -08:00
2007-02-16 15:32:20 -08:00
2007-03-01 13:09:46 -02:00
2007-02-14 15:45:03 -05:00
2007-03-01 14:53:38 -08:00