Searched refs:second_pick_cpu (Results 1 – 2 of 2) sorted by relevance
3589 atomic_t second_pick_cpu; member3781 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() local3974 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()
8289 atomic_set(&nohz.second_pick_cpu, nr_cpu_ids); in sched_init()