Re: [PATCH] cgroup/cpuset: fix circular locking dependency

From: Tejun Heo
Date: Mon Jan 08 2018 - 22:42:22 EST


Hello, Paul.

On Mon, Jan 08, 2018 at 04:31:27PM -0800, Paul E. McKenney wrote:
> +static int __init rcu_init_wq_rescuer(void)
> +{
> + WARN_ON(init_rescuer(rcu_gp_workqueue));
> + return 0;
> +}
> +core_initcall(rcu_init_wq_rescuer);

So, what I don't get is why RCU needs to call this explicitly.
core_initcall() is after workqueue_init() anyway. Why am I missing?

Thanks.

--
tejun