rcu: Comment why callbacks migration can't wait for CPUHP_RCUTREE_PREP
authorFrederic Weisbecker <frederic@kernel.org>
Fri, 8 Sep 2023 20:36:03 +0000 (22:36 +0200)
committerFrederic Weisbecker <frederic@kernel.org>
Wed, 4 Oct 2023 20:38:35 +0000 (22:38 +0200)
commita28ab03b499601c14b8f502d875c2bee23209659
treed294fbfd3b574808d54348d25ba9f2d49779fd3d
parent448e9f34d91d1a4799fdb06a93c2c24b34b6fd9d
rcu: Comment why callbacks migration can't wait for CPUHP_RCUTREE_PREP

The callbacks migration is performed through an explicit call from
the hotplug control CPU right after the death of the target CPU and
before proceeding with the CPUHP_ teardown functions.

This is unusual but necessary and yet uncommented. Summarize the reason
as explained in the changelog of:

a58163d8ca2c (rcu: Migrate callbacks earlier in the CPU-offline timeline)

Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
kernel/cpu.c