]> git.karo-electronics.de Git - linux-beck.git/blobdiff - include/linux/mm.h
mm: numa: Support NUMA hinting page faults from gup/gup_fast
[linux-beck.git] / include / linux / mm.h
index 1856c62d82cd5d5be92d6a07df41c723b283300d..fa1615211159c8a7f404c38e7fb5b5ecc7a27238 100644 (file)
@@ -1572,6 +1572,7 @@ struct page *follow_page(struct vm_area_struct *, unsigned long address,
 #define FOLL_MLOCK     0x40    /* mark page as mlocked */
 #define FOLL_SPLIT     0x80    /* don't return transhuge pages, split them */
 #define FOLL_HWPOISON  0x100   /* check page is hwpoisoned */
+#define FOLL_NUMA      0x200   /* force NUMA hinting page fault */
 
 typedef int (*pte_fn_t)(pte_t *pte, pgtable_t token, unsigned long addr,
                        void *data);