Home
last modified time | relevance | path

Searched refs:second_pick_cpu (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/kernel/
Dsched_fair.c3589 atomic_t second_pick_cpu; member
3781 if (atomic_read(&nohz.second_pick_cpu) == cpu) in select_nohz_load_balancer()
3782 atomic_cmpxchg(&nohz.second_pick_cpu, cpu, nr_cpu_ids); in select_nohz_load_balancer()
3965 int first_pick_cpu, second_pick_cpu; in nohz_kick_needed() local
3974 second_pick_cpu = atomic_read(&nohz.second_pick_cpu); in nohz_kick_needed()
3977 second_pick_cpu < nr_cpu_ids && second_pick_cpu != cpu) in nohz_kick_needed()
3982 atomic_cmpxchg(&nohz.second_pick_cpu, cpu, nr_cpu_ids); in nohz_kick_needed()
3986 ret = atomic_cmpxchg(&nohz.second_pick_cpu, nr_cpu_ids, cpu); in nohz_kick_needed()
Dsched.c8289 atomic_set(&nohz.second_pick_cpu, nr_cpu_ids); in sched_init()