Skip to content

Commit 7dba33c

Browse files
Peter ZijlstraKAGA-KOKO
authored andcommitted
clocksource: Rework stale comment
AFAICS the hotplug code no longer uses this function. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
1 parent cd2af07 commit 7dba33c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kernel/time/clocksource.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,10 +173,8 @@ static void __clocksource_unstable(struct clocksource *cs)
173173
* clocksource_mark_unstable - mark clocksource unstable via watchdog
174174
* @cs: clocksource to be marked unstable
175175
*
176-
* This function is called instead of clocksource_change_rating from
177-
* cpu hotplug code to avoid a deadlock between the clocksource mutex
178-
* and the cpu hotplug mutex. It defers the update of the clocksource
179-
* to the watchdog thread.
176+
* This function is called by the x86 TSC code to mark clocksources as unstable;
177+
* it defers demotion and re-selection to a kthread.
180178
*/
181179
void clocksource_mark_unstable(struct clocksource *cs)
182180
{

0 commit comments

Comments
 (0)