Messages in this thread | | | Date | Wed, 06 Jun 2007 07:15:31 -0700 | From | Jeremy Fitzhardinge <> | Subject | Re: [Xen-devel] [patch 14/33] xen: xen time implementation |
| |
Andi Kleen wrote: >> I once had some code in there to do that, implemented in very boneheaded >> way with a spinlock to protect the "last time returned" variable. I >> expect there's a better way to implement it. >> > > But any per CPU setup likely needs this to avoid non monotonicity
Yeah. The point I didn't quite make was that this should be something that the clock core should handle rather than dealing with it in every clocksource.
J
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |