]> Pileus Git - ~andy/linux/blobdiff - arch/x86/include/asm/pgtable_types.h
Merge tag 'efi-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mfleming/efi...
[~andy/linux] / arch / x86 / include / asm / pgtable_types.h
index 028e28b6fc2c4d598f81887f75f7793d9805b38e..a83aa44bb1fb831cac7cda82a590c05ea0e47235 100644 (file)
@@ -75,6 +75,9 @@
  * with swap entry format. On x86 bits 6 and 7 are *not* involved
  * into swap entry computation, but bit 6 is used for nonlinear
  * file mapping, so we borrow bit 7 for soft dirty tracking.
+ *
+ * Please note that this bit must be treated as swap dirty page
+ * mark if and only if the PTE has present bit clear!
  */
 #ifdef CONFIG_MEM_SOFT_DIRTY
 #define _PAGE_SWP_SOFT_DIRTY   _PAGE_PSE