Re: [PATCH] to fix xtime lock for in the RT kernel patch

From: Ingo Molnar
Date: Fri Jan 21 2005 - 04:01:51 EST



* George Anzinger <george@xxxxxxxxxx> wrote:

> 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.

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