Re: [RT] fix delay in do_vgettimeofday() inarch/x86_64/kernel/vsyscall.c

From: john stultz
Date: Fri Dec 09 2005 - 21:33:57 EST


On Fri, 2005-12-09 at 22:38 +0300, Serge Belyshev wrote:
>
> There are occasional very very long (30..60 sec) delays happening when calling
> gettimeofday() vsyscall on x86_64 with 2.6.14-rt22 kernel.
>
> These delays come from while() looping over invalid data that are
> going to be discarded by seqlock.

Ah, good catch! I just included a similar change (moved all the math
outside the lock) in my own tree.

Thanks for finding this!
-john

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