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) <peterz@infradead.org> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Cc: len.brown@intel.com Cc: rjw@rjwysocki.net Cc: diego.viola@gmail.com Cc: rui.zhang@intel.com Link: https://lkml.kernel.org/r/20180430100344.656525644@infradead.org
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)