lkml.org 
[lkml]   [1999]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Rdtsc in new kernels


On Mon, 10 May 1999, Pavel Machek wrote:
>
> It seems to me that with new kernels rdtsc is not being used unless
> cpu type is set to 586/TSC+. This is difference from old kernels which
> used rdtsc whenever it was available. This is why my badboy exploit
> stopped running on my home computer.

No, new Linux kernels will use rdtsc in all situations that older kernels
used to as well.

HOWEVER, there are a set of circumstances where an old kernel would
_never_ have used rdtsc, and a new kernel will. Most of those are so
performance-critical that some people (namely me and Ingo) felt that the
only way to support it was to just require it at compile time.

So think of the compile-time option as giving up an extra choice that
wasn't available before.

Linus


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

\
 
 \ /
  Last update: 2005-03-22 13:51    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog