[lkml]   [2009]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [tip:timers/core] clocksource: Resolve cpu hotplug dead lock with TSC unstable
On Mon, 31 Aug 2009, Martin Schwidefsky wrote:
> Ah, very good. I've been going round in circles to find a solution that
> allows to downgrade the tsc rating when the second cpu is enabled.
> Could not find a solution. Your approach changes semantics slightly:
> the tsc clock will continue with its old rating for a while until the
> watchdog will do the downgrade. If that is acceptable then this is a
> good solution.

Even the old code did not switch right away. The TSC was used until
the next timer interrupt. Also we survive the detection of unstable
TSCs with the watchdog which can happen quite after the fact that it
became unusable. The important point is that we detect it at all and
replace it with something useable.



 \ /
  Last update: 2009-08-31 18:01    [W:0.039 / U:4.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site