Andi Kleen wrote:Cleaner how? This seems pretty straightforward to me. Xen can return a clock measuring unstolen nanoseconds, which maps directly to the sched_clock interface, doesn't need any of the existing sched_clock code. I suppose I could map the Xen interface onto some abstract "cycles" notion and hook it into the tsc machinery, but it seems like it would be a forced fit. In general, my approach has been to choose the higher-level interface over a lower-level one, all other things being equal. The only reason I hoisted the cycles_2_ns stuff was for vmi. It returns a tsc-like cycles interface, and so it can make use of the existing cycles_2_ns code (though I don't think a changing timebase is an issue). J -
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
| Stoyan Gaydarov | From 2.4 to 2.6 to 2.7? |
| Andi Kleen | [PATCH] [4/50] x86: add cpu codenames for Kconfig.cpu |
| Greg Kroah-Hartman | [PATCH 013/196] Documentation: Replace obsolete "driverfs" with "sysfs". |
git: | |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jarek Poplawski | Re: HTB accuracy for high speed |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | Re: [GIT]: Networking |
