lkml.org 
[lkml]   [2019]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [GIT PULL] timer fixes
On Tue, Dec 17, 2019 at 11:30 AM Peter Zijlstra <peterz@infradead.org> wrote:
>
> What alternatives are there? That is, we normally only use HPET to
> double check nobody messed up the TSC.

The thing is HPET seems to be _less_ reliable than the TSC we're
checking these days.

If that's the only use-case for HPET, we should just stop doing it.

> We can't just blindly trust TSC across everything x86.

No, but we can trust it when it's a modern CPU.

The HPET seems to get disabled on all the modern platforms, why do we
even have it enabled by default?

We should do the HPET cross-check only when we know the TSC might be
unreliable, I suspect.

Linus

\
 
 \ /
  Last update: 2019-12-17 21:18    [W:0.056 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site