Revert "mm: sched: numa: Delay PTE scanning until a task is scheduled on a new node"
[firefly-linux-kernel-4.4.55.git] / include / linux / mm_types.h
index d9851eeb6e1d183ca2c49e3dffcc4e1a1443510e..b7adf1d4310c796891fde3385c0ed0f1c08693bd 100644 (file)
@@ -428,20 +428,10 @@ struct mm_struct {
 
        /* numa_scan_seq prevents two threads setting pte_numa */
        int numa_scan_seq;
-
-       /*
-        * The first node a task was scheduled on. If a task runs on
-        * a different node than Make PTE Scan Go Now.
-        */
-       int first_nid;
 #endif
        struct uprobes_state uprobes_state;
 };
 
-/* first nid will either be a valid NID or one of these values */
-#define NUMA_PTE_SCAN_INIT     -1
-#define NUMA_PTE_SCAN_ACTIVE   -2
-
 static inline void mm_init_cpumask(struct mm_struct *mm)
 {
 #ifdef CONFIG_CPUMASK_OFFSTACK