The free_all_cpu_call_rcu_data() call can consume hundreds of
milliseconds on shutdown. Don't try to be smart and let the RCU library
handle this internally.
*/
ignore_signal(SIGPIPE, SIG_IGN);
- bool free_call_rcu_data = !create_all_cpu_call_rcu_data(0);
-
/*
* The thread 0 is this one.
*/
}
isc_thread_main(loop_thread, &loopmgr->loops[0]);
-
- rcu_barrier();
-
- if (free_call_rcu_data) {
- free_all_cpu_call_rcu_data();
- }
}
void