Lines Matching refs:numa_scan_seq
1963 if ((p->numa_preferred_nid == NUMA_NO_NODE || p->numa_scan_seq <= 4) && in should_numa_migrate_memory()
2894 seq = READ_ONCE(p->mm->numa_scan_seq); in task_numa_placement()
2895 if (p->numa_scan_seq == seq) in task_numa_placement()
2897 p->numa_scan_seq = seq; in task_numa_placement()
3242 WRITE_ONCE(p->mm->numa_scan_seq, READ_ONCE(p->mm->numa_scan_seq) + 1); in reset_ptenuma_scan()
3255 if ((READ_ONCE(current->mm->numa_scan_seq) - vma->numab_state->start_scan_seq) < 2) in vma_is_accessed()
3276 if (READ_ONCE(mm->numa_scan_seq) > in vma_is_accessed()
3407 vma->numab_state->start_scan_seq = mm->numa_scan_seq; in task_numa_work()
3421 vma->numab_state->prev_scan_seq = mm->numa_scan_seq - 1; in task_numa_work()
3428 if (mm->numa_scan_seq && time_before(jiffies, in task_numa_work()
3435 if (mm->numa_scan_seq && in task_numa_work()
3444 if (vma->numab_state->prev_scan_seq == mm->numa_scan_seq) { in task_numa_work()
3486 vma->numab_state->prev_scan_seq = mm->numa_scan_seq; in task_numa_work()
3540 mm->numa_scan_seq = 0; in init_numa_balancing()
3544 p->numa_scan_seq = mm ? mm->numa_scan_seq : 0; in init_numa_balancing()
3630 if (p->numa_scan_seq) { in update_scan_period()