mm: send one IPI per CPU to TLB flush all entries after unmapping pages
[cascardo/linux.git] / include / linux / rmap.h
index c89c53a..29446ae 100644 (file)
@@ -89,6 +89,9 @@ enum ttu_flags {
        TTU_IGNORE_MLOCK = (1 << 8),    /* ignore mlock */
        TTU_IGNORE_ACCESS = (1 << 9),   /* don't age */
        TTU_IGNORE_HWPOISON = (1 << 10),/* corrupted page is recoverable */
+       TTU_BATCH_FLUSH = (1 << 11),    /* Batch TLB flushes where possible
+                                        * and caller guarantees they will
+                                        * do a final flush if necessary */
 };
 
 #ifdef CONFIG_MMU