mm/compaction: more trace to understand when/why compaction start/finish
[cascardo/linux.git] / include / linux / compaction.h
index db64cae..501d751 100644 (file)
@@ -12,6 +12,9 @@
 #define COMPACT_PARTIAL                3
 /* The full zone was compacted */
 #define COMPACT_COMPLETE       4
+/* For more detailed tracepoint output */
+#define COMPACT_NO_SUITABLE_PAGE       5
+#define COMPACT_NOT_SUITABLE_ZONE      6
 /* When adding new state, please change compaction_status_string, too */
 
 /* Used to signal whether compaction detected need_sched() or lock contention */