lkml.org 
[lkml]   [2008]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Fix booting pentium+ with dodgy TSC
Date
On Sunday 06 April 2008 21:22:08 Ingo Molnar wrote:
> * Rusty Russell <rusty@rustcorp.com.au> wrote:
> > Linus please apply. Almost by definition this patch can't make things
> > worse.
>
> well, while i agree with the patch it could make things worse. In this
> case it can cause code that has been compiled to rely on TSC to
> malfunction. For if sched_clock() was using cpu_has_tsc it could return
> 0 all the time, breaking the scheduler without the user having a clear
> idea why it broke. It isnt, and sched_clock() will work fine, but still,
> your "this cant make things worse" statement is not completely correct.

Hence the "almost". It can't break machines, but it could make the problem
harder to diagnose. Given that it will unbreak at least one machine, I'm
reasonably confident it's a win :)

> Acked-by: Ingo Molnar <mingo@elte.hu>

Thanks!
Rusty.


\
 
 \ /
  Last update: 2008-04-06 22:31    [W:0.035 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site