Waiman Long
da274853fe
cpu: Remove obsolete comment from takedown_cpu()
...
takedown_cpu() has a comment about "all preempt/rcu users must observe
!cpu_active()" which is kind of meaningless in this function. This
comment was originally introduced by commit 6acce3ef84 ("sched: Remove
get_online_cpus() usage") when _cpu_down() was setting cpu_active_mask
and synchronize_rcu()/synchronize_sched() were added after that.
Later commit 40190a78f8 ("sched/hotplug: Convert cpu_[in]active
notifiers to state machine") added a new CPUHP_AP_ACTIVE hotplug
state to set/clear cpu_active_mask. The following commit b2454caa89
("sched/hotplug: Move sync_rcu to be with set_cpu_active(false)")
move the synchronize_*() calls to sched_cpu_deactivate() associated
with the new hotplug state, but left the comment behind.
Remove this comment as it is no longer relevant in takedown_cpu().
Signed-off-by: Waiman Long <longman@redhat.com >
Signed-off-by: Thomas Gleixner <tglx@linutronix.de >
Link: https://lore.kernel.org/all/20250729191232.664931-1-longman@redhat.com
2025-08-06 22:48:12 +02:00
..
2025-07-29 12:15:39 -07:00
2025-07-19 10:00:47 -07:00
2025-07-21 21:41:57 -07:00
2025-04-02 18:17:33 -07:00
2025-06-12 08:38:40 +02:00
2025-06-30 19:54:19 +02:00
2025-07-09 13:40:17 +02:00
2025-07-11 16:02:01 +02:00
2025-04-30 21:53:35 +02:00
2025-07-29 13:26:05 -07:00
2025-05-08 19:49:33 +02:00
2025-05-14 13:16:24 +02:00
2025-07-29 18:11:32 -07:00
2025-07-29 12:15:39 -07:00
2025-07-17 20:30:52 +02:00
2025-03-27 19:22:24 -07:00
2025-06-20 15:31:48 -04:00
2025-07-29 17:42:52 -07:00
2025-07-29 14:12:52 -07:00
2025-07-28 16:43:54 -07:00
2025-02-12 12:24:16 +01:00
2025-06-23 14:01:49 -04:00
2025-04-15 11:32:34 +02:00
2025-04-11 14:14:41 -04:00
2025-06-16 17:00:06 -04:00
2024-12-05 19:22:38 -05:00
2025-06-16 17:00:06 -04:00
2024-06-24 22:24:55 -07:00
2024-04-29 08:29:29 -07:00
2025-03-07 22:03:09 -06:00
2025-03-30 15:44:36 -07:00
2025-03-04 18:44:29 -08:00
2025-08-06 22:48:12 +02:00
2025-02-10 16:56:58 -08:00
2025-05-21 10:48:21 -07:00
2025-05-11 17:54:10 -07:00
2024-12-02 11:25:09 +01:00
2025-05-27 19:40:33 -07:00
2025-06-22 10:11:45 -07:00
2025-07-29 17:42:52 -07:00
2025-07-17 07:56:50 -10:00
2025-03-15 21:22:52 +09:00
2025-05-11 17:54:08 -07:00
2025-02-21 15:05:38 +01:00
2025-01-13 22:40:36 -08:00
2025-03-10 11:54:46 +01:00
2024-07-20 16:33:21 +09:00
2025-01-02 22:12:12 +01:00
2025-02-18 10:16:04 +01:00
2025-02-21 10:25:33 +01:00
2025-02-21 09:20:30 +01:00
2025-06-25 15:55:04 -07:00
2024-11-07 15:25:05 +01:00
2024-12-30 17:59:08 -08:00
2025-07-15 14:56:38 +02:00
2025-03-16 22:30:47 -07:00
2025-07-04 10:18:53 -07:00
2025-07-28 17:16:12 -07:00
2025-05-12 23:50:40 -07:00
2024-04-23 14:59:01 +10:00
2024-12-24 09:46:49 +01:00
2025-03-10 11:54:46 +01:00
2025-07-21 21:40:39 -07:00
2025-01-07 16:59:15 +01:00
2025-06-08 09:07:37 +02:00
2025-01-28 13:48:37 +01:00
2025-07-26 14:28:35 -07:00
2024-11-05 17:12:31 -08:00
2025-05-09 13:13:54 +02:00
2025-05-19 13:44:16 +08:00
2025-05-31 19:12:53 -07:00
2025-05-07 20:24:59 +02:00
2025-03-06 10:18:36 +01:00
2025-01-28 13:48:37 +01:00
2025-06-19 14:28:24 +02:00
2024-08-04 13:36:28 -07:00
2025-05-11 17:48:15 -07:00
2025-04-01 10:06:52 -07:00
2024-04-25 21:07:03 -07:00
2025-05-11 17:54:09 -07:00
2024-10-09 12:47:19 -07:00
2025-07-24 17:57:59 -07:00
2025-03-06 22:26:49 +01:00
2024-11-14 16:09:51 -08:00
2025-02-24 11:17:10 -08:00
2025-06-16 17:01:22 +02:00
2025-08-02 14:24:50 +02:00
2025-06-13 08:47:20 +02:00
2025-03-25 10:46:44 +01:00
2025-03-30 15:44:36 -07:00
2025-07-01 15:02:03 +02:00
2024-07-18 12:19:20 -07:00
2025-05-03 12:02:07 +02:00
2025-04-14 14:13:41 +02:00
2025-04-09 13:32:16 +02:00
2025-01-13 22:40:36 -08:00
2024-11-03 01:28:06 -05:00
2025-02-05 07:14:24 -08:00
2025-03-21 15:30:10 -04:00
2024-07-12 16:39:53 -07:00
2025-03-16 22:30:50 -07:00
2025-01-28 13:48:37 +01:00
2025-02-12 12:12:27 +01:00
2024-09-12 12:16:09 +02:00
2025-01-28 13:48:37 +01:00
2025-04-18 10:08:11 -04:00
2025-05-11 17:54:04 -07:00
2025-03-24 09:52:37 -07:00
2025-04-01 10:06:52 -07:00
2025-05-21 10:48:22 -07:00
2025-06-17 08:58:29 -10:00