Home
last modified time | relevance | path

Searched refs:numab_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/include/linux/
Dmm.h636 vma->numab_state = NULL; in vma_numab_state_init()
640 kfree(vma->numab_state); in vma_numab_state_free()
1729 if (vma->numab_state && !test_bit(pid_bit, &vma->numab_state->access_pids[1])) { in vma_set_access_pid_bit()
1730 __set_bit(pid_bit, &vma->numab_state->access_pids[1]); in vma_set_access_pid_bit()
Dmm_types.h660 struct vma_numab_state *numab_state; /* NUMA Balancing state */ member
/linux-6.6.21/kernel/sched/
Dfair.c3197 pids = vma->numab_state->access_pids[0] | vma->numab_state->access_pids[1]; in vma_is_accessed()
3303 if (!vma->numab_state) { in task_numa_work()
3304 vma->numab_state = kzalloc(sizeof(struct vma_numab_state), in task_numa_work()
3306 if (!vma->numab_state) in task_numa_work()
3309 vma->numab_state->next_scan = now + in task_numa_work()
3313 vma->numab_state->next_pid_reset = vma->numab_state->next_scan + in task_numa_work()
3322 vma->numab_state->next_scan)) in task_numa_work()
3334 time_after(jiffies, vma->numab_state->next_pid_reset)) { in task_numa_work()
3335 vma->numab_state->next_pid_reset = vma->numab_state->next_pid_reset + in task_numa_work()
3337 vma->numab_state->access_pids[0] = READ_ONCE(vma->numab_state->access_pids[1]); in task_numa_work()
[all …]