lkml.org 
[lkml]   [2002]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: It hurts when I shoot myself in the foot
From
Date
On Fri, 2002-05-24 at 10:36, Kasper Dupont wrote:
> Alan Cox wrote:
> >
> > > If the kernel knew multipliers couldn't it actually use the TSCs
> > > anyway? Of course it would take some work, but is there any
> > > reason why it would not be posible?
> >
> > In 2.4 yes. In 2.5 it would be close to impossible due to the pre-empt code
>
> Couldn't that be solved in one of the following ways?
>
> 1) Disable pre-emption while reading TSC and CPU nr.
> 2) Use affinity for processes pre-empted in kernel mode.
> 3) Disable pre-emption for SMP systems.
>
Sorry to chime in on this if it isn't appreciated, but wouldn't #3 open
some old wounds again? It seems that it would FMPOV.

Austin

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:1.183 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site