lkml.org 
[lkml]   [1999]   [Mar]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] __volatile__ needed in get_cycles()?
On Wed, 31 Mar 1999, Ingo Molnar wrote:

>(and as i told you in the previous mail, even instruction prefetch and
>page table access is properly synchronized in Linux, because we use invlpg
>and iret)

I am not talking about bugs, I am simply talking about precise profiling
of the asm between two get_cycles_serialized(). Note, I always thought
from time zero that get_cycles_serialized() is not needed at all for
production code, but Tigran asked for an additional get_cycles() that
would take care of reordering issues and since it looked fun I implemented
it :).

Andrea[s] Arcangeli


-
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    [W:0.051 / U:0.804 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site