add descriptive comment for TIF_MEMDIE task flag declaration.
[firefly-linux-kernel-4.4.55.git] / arch / x86 / include / asm / thread_info.h
index e0d28901e9691ee53fcd57edf0fa08a6cd5ce8c2..4cc1be269757313badc9bb16389b9900a003ee08 100644 (file)
@@ -87,7 +87,7 @@ struct thread_info {
 #define TIF_NOTSC              16      /* TSC is not accessible in userland */
 #define TIF_IA32               17      /* 32bit process */
 #define TIF_FORK               18      /* ret_from_fork */
-#define TIF_MEMDIE             20
+#define TIF_MEMDIE             20      /* is terminating due to OOM killer */
 #define TIF_DEBUG              21      /* uses debug registers */
 #define TIF_IO_BITMAP          22      /* uses I/O bitmap */
 #define TIF_FREEZE             23      /* is freezing for suspend */