Skip to contentSkip to conversation

timers/migration: Update stale @online doc to @available

PATCH Applied Zhan Xusheng 2 participants 3 messages May 26 – May 28 High-resolution timers, timer wheel, clockevents

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 timers/migration: Update stale @online doc to @available

Commit 8312cab5ff47 ("timers/migration: Rename 'online' bit to 'available'") renamed the 'online' field of struct tmigr_cpu to 'available'. The kdoc comment above the struct still describes the old field name.

Update the kdoc to reflect the actual field name and use the 'available' wording in the description.

Fixes 8312cab5ff47 ("timers/migration: Rename 'online' bit to 'available'")
---
 kernel/time/timer_migration.h | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
kernel/time/timer_migration.h +10 -9
index 70879cde6fdd..06646aaa1417 100644
@@ -75,15 +75,16 @@ struct tmigr_group {
 /**
  * struct tmigr_cpu - timer migration per CPU group
  * @lock:		Lock protecting the tmigr_cpu group information
- * @online:		Indicates whether the CPU is online; In deactivate path
- *			it is required to know whether the migrator in the top
- *			level group is to be set offline, while a timer is
- *			pending. Then another online CPU needs to be notified to
- *			take over the migrator role. Furthermore the information
- *			is required in CPU hotplug path as the CPU is able to go
- *			idle before the timer migration hierarchy hotplug AP is
- *			reached. During this phase, the CPU has to handle the
- *			global timers on its own and must not act as a migrator.
+ * @available:		Indicates whether the CPU is available for handling
+ *			global timers; in the deactivate path it is required to
+ *			know whether the migrator in the top level group is to
+ *			be set offline, while a timer is pending. Then another
+ *			available CPU needs to be notified to take over the
+ *			migrator role. Furthermore the information is required
+ *			in CPU hotplug path as the CPU is able to go idle before
+ *			the timer migration hierarchy hotplug AP is reached.
+ *			During this phase, the CPU has to handle the global
+ *			timers on its own and must not act as a migrator.
  * @idle:		Indicates whether the CPU is idle in the timer migration
  *			hierarchy
  * @remote:		Is set when timers of the CPU are expired remotely
Signature · 1 line
2.43.0
merge bot Applied
#1 lore raw
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     56eb93880c935989c437afee18d6040f356bda21
Gitweb:        https://git.kernel.org/tip/56eb93880c935989c437afee18d6040f356bda21
Author:        Zhan Xusheng <[email protected]>
AuthorDate:    Tue, 26 May 2026 10:21:06 +08:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Thu, 28 May 2026 16:19:10 +02:00

timers/migration: Update stale @online doc to @available

Commit 8312cab5ff47 ("timers/migration: Rename 'online' bit to 'available'") renamed the 'online' field of struct tmigr_cpu to 'available'. The kernel doc comment above the struct still describes the old field name.

Update it to reflect the actual field name and use the 'available' wording in the description.

Fixes 8312cab5ff47 ("timers/migration: Rename 'online' bit to 'available'")
---
 kernel/time/timer_migration.h | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
kernel/time/timer_migration.h +10 -8
index 291bfb6..ea8db95 100644
@@ -94,15 +94,17 @@ struct tmigr_group {
 /**
  * struct tmigr_cpu - timer migration per CPU group
  * @lock:		Lock protecting the tmigr_cpu group information
- * @online:		Indicates whether the CPU is online; In deactivate path
- *			it is required to know whether the migrator in the top
- *			level group is to be set offline, while a timer is
- *			pending. Then another online CPU needs to be notified to
- *			take over the migrator role. Furthermore the information
- *			is required in CPU hotplug path as the CPU is able to go
- *			idle before the timer migration hierarchy hotplug AP is
- *			reached. During this phase, the CPU has to handle the
+ * @available:		Indicates whether the CPU is available for handling
+ *			global timers. In the deactivate path it is required to
+ *			know whether the migrator in the top level group is to
+ *			be set offline, while a timer is pending. Then another
+ *			available CPU needs to be notified to take over the
+ *			migrator role. Furthermore the information is required
+ *			in the CPU hotplug path as the CPU is able to go idle
+ *			before the timer migration hierarchy hotplug callback is
+ *			reached.  During this phase, the CPU has to handle the
  *			global timers on its own and must not act as a migrator.
+
  * @idle:		Indicates whether the CPU is idle in the timer migration
  *			hierarchy
  * @remote:		Is set when timers of the CPU are expired remotely
merge bot Applied
#2 lore raw
In reply to Zhan Xusheng
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     45a13ba52c82dbec9715222c51e629e85daa37d7
Gitweb:        https://git.kernel.org/tip/45a13ba52c82dbec9715222c51e629e85daa37d7
Author:        Zhan Xusheng <[email protected]>
AuthorDate:    Tue, 26 May 2026 10:21:06 +08:00
Committer:     Thomas Gleixner <[email protected]>
CommitterDate: Thu, 28 May 2026 18:35:11 +02:00

timers/migration: Update stale @online doc to @available

Commit 8312cab5ff47 ("timers/migration: Rename 'online' bit to 'available'") renamed the 'online' field of struct tmigr_cpu to 'available'. The kernel doc comment above the struct still describes the old field name.

Update it to reflect the actual field name and use the 'available' wording in the description.

Fixes 8312cab5ff47 ("timers/migration: Rename 'online' bit to 'available'")
---
 kernel/time/timer_migration.h | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)
kernel/time/timer_migration.h +10 -8
index 291bfb6..ea8db95 100644
@@ -94,15 +94,17 @@ struct tmigr_group {
 /**
  * struct tmigr_cpu - timer migration per CPU group
  * @lock:		Lock protecting the tmigr_cpu group information
- * @online:		Indicates whether the CPU is online; In deactivate path
- *			it is required to know whether the migrator in the top
- *			level group is to be set offline, while a timer is
- *			pending. Then another online CPU needs to be notified to
- *			take over the migrator role. Furthermore the information
- *			is required in CPU hotplug path as the CPU is able to go
- *			idle before the timer migration hierarchy hotplug AP is
- *			reached. During this phase, the CPU has to handle the
+ * @available:		Indicates whether the CPU is available for handling
+ *			global timers. In the deactivate path it is required to
+ *			know whether the migrator in the top level group is to
+ *			be set offline, while a timer is pending. Then another
+ *			available CPU needs to be notified to take over the
+ *			migrator role. Furthermore the information is required
+ *			in the CPU hotplug path as the CPU is able to go idle
+ *			before the timer migration hierarchy hotplug callback is
+ *			reached.  During this phase, the CPU has to handle the
  *			global timers on its own and must not act as a migrator.
+
  * @idle:		Indicates whether the CPU is idle in the timer migration
  *			hierarchy
  * @remote:		Is set when timers of the CPU are expired remotely