summaryrefslogtreecommitdiff
path: root/include/linux/migrate.h
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-02-07 11:33:48 +0100
committerIngo Molnar <mingo@elte.hu>2012-02-07 11:33:51 +0100
commit7915a2e902df9fdb5ea5d5786a4172b38d0ea71e (patch)
tree72b67d3079ffad2f5e21a5a449d210b355da13b6 /include/linux/migrate.h
parent35f1790e6c6a7e4cae57b616cf36444d27fa6b28 (diff)
parent23783f817bceedd6d4e549385e3f400ea64059e5 (diff)
Merge branch 'linus' into x86/boot
Merge this into x86/boot so that we can queue up dependent patches. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/migrate.h')
-rw-r--r--include/linux/migrate.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/include/linux/migrate.h b/include/linux/migrate.h
index eaf867412f7a..05ed2828a553 100644
--- a/include/linux/migrate.h
+++ b/include/linux/migrate.h
@@ -3,22 +3,10 @@
#include <linux/mm.h>
#include <linux/mempolicy.h>
+#include <linux/migrate_mode.h>
typedef struct page *new_page_t(struct page *, unsigned long private, int **);
-/*
- * MIGRATE_ASYNC means never block
- * MIGRATE_SYNC_LIGHT in the current implementation means to allow blocking
- * on most operations but not ->writepage as the potential stall time
- * is too significant
- * MIGRATE_SYNC will block when migrating pages
- */
-enum migrate_mode {
- MIGRATE_ASYNC,
- MIGRATE_SYNC_LIGHT,
- MIGRATE_SYNC,
-};
-
#ifdef CONFIG_MIGRATION
#define PAGE_MIGRATION 1