Re: [RFC PATCH 25/35] Add Xen time abstractions

From: Andi Kleen
Date: Tue May 09 2006 - 17:52:25 EST


On Tuesday 09 May 2006 09:00, Chris Wright wrote:
> Add support for Xen time abstractions. To avoid expensive traps into
> the hypervisor, the passage of time is extrapolated from the local TSC
> and a set of timestamps and scaling factors exported to the guest via
> shared memory. Xen also provides a periodic interrupt facility which
> is used to drive updates of xtime and jiffies, and perform the usual
> process accounting and profiling.

There is far too much code duplication in there. I think you need to
refactor the main time.c a bit first and strip that down.

Also you can drop all the __x86_64__ support for now.

-Andi

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