* George Anzinger <george@xxxxxxxxxx> wrote:Tomorrow, uh, later today. Need some sleep now...
What I am suggesting is spliting the mark code so that it would only
grap the offset (current TSC in most systems) during interrupt
processing. Applying this would be done later in the thread. Since
it is not applying the offset, the xtime_lock would not need to be
taken.
ok, you are right, and this would be fine with me. Wanna take a shot at
it? I've uploaded the -03 patch which is my most current tree. (with the
do_timer() moving done already.) I've reviewed the TSC offset codepath
again and i'm not sure where i got the 10 usecs from ... it's a pretty
cheap codepath that can be done in the direct interrupt just fine.