Re: + stupid-hack-to-make-mainline-build.patch added to -mm tree

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Dan Hecht <dhecht@...>
Cc: Jeremy Fitzhardinge <jeremy@...>, Zachary Amsden <zach@...>, Ingo Molnar <mingo@...>, <akpm@...>, <ak@...>, Virtualization Mailing List <virtualization@...>, Rusty Russell <rusty@...>, LKML <linux-kernel@...>, john stultz <johnstul@...>
Date: Wednesday, March 7, 2007 - 4:37 am

On Tue, 2007-03-06 at 18:08 -0800, Dan Hecht wrote:

That's a pure academic exercise. When we are at the point where
nanoseconds are to coarse - sometimes after we both retired - the
internal resolution will be femtoseconds or whatever fits.

Again: paravirt should use a common infrastructure for this. Virtual
clocksource and virtual clockevent devices, which operate on ktime_t and
not on some artificial clock chip emulation frequency. The backend
implementation will be still per hypervisor, but we have _ONE_ device
emulation model, which is exposed to the kernel instead of five.

On a Linux based host, you probably end up with a hrtimer on the host
side to schedule the next event on the guest. So why do we need to
convert ktime_t to some virtual frequency in the guest so we can convert
it back into ktime_t on the host ?

Abstractions for the abstractions sake are braindead. There is no real
reason to implement 128 bit math into that path just to make the virtual
clockevent device look like real hardware.

The abstraction of clockevents helps you to get rid of hardwired
hardware assumptions, but you insist on creating them artificially for
reasons which are beyond my grasp.


Sigh. The gain is, that you still have a good reason, why you can't move
to the clockevents interface.

Jeremy spent a couple of hours to get NO_HZ running for Xen yesterday
instead of writing up lengthy excuses, why it is soooo hard and takes
sooo much time and the current interface is sooo insufficient.

	tglx


-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Tue Mar 6, 8:24 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 1:10 am)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Thomas Gleixner, (Wed Mar 7, 4:37 am)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 1:41 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 3:05 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 4:11 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 5:08 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 6:05 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 7:33 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 8:19 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 8:38 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 7:36 pm)
Re: hardwired VMI crap , Ingo Molnar, (Thu Mar 8, 5:10 am)
Re: hardwired VMI crap, Zachary Amsden, (Thu Mar 8, 6:06 am)
Re: hardwired VMI crap, Chris Wright, (Thu Mar 8, 2:35 pm)
Re: hardwired VMI crap, Thomas Gleixner, (Thu Mar 8, 7:09 am)
Re: hardwired VMI crap, Zachary Amsden, (Thu Mar 8, 4:46 pm)
Re: hardwired VMI crap, Ingo Molnar, (Thu Mar 8, 6:42 pm)
Re: hardwired VMI crap, Zachary Amsden, (Thu Mar 8, 7:39 pm)
Re: hardwired VMI crap, Andi Kleen, (Thu Mar 8, 5:39 pm)
Re: hardwired VMI crap, Zachary Amsden, (Thu Mar 8, 6:58 pm)
Re: hardwired VMI crap, Ingo Molnar, (Thu Mar 8, 5:13 pm)
Re: hardwired VMI crap, Zachary Amsden, (Thu Mar 8, 6:17 pm)
Re: hardwired VMI crap, Ingo Molnar, (Thu Mar 8, 6:33 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 9:23 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Thu Mar 8, 3:42 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 2:28 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 2:35 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Wed Mar 7, 5:07 pm)
Re: + stupid-hack-to-make-mainline-build.patch added to -mm ..., Jeremy Fitzhardinge, (Thu Mar 8, 4:41 am)