Re: [PATCH 2/6] lguest tsc fix

2007-06-05 Thread Rusty Russell
On Tue, 2007-06-05 at 20:15 +0200, Andi Kleen wrote: > On Wed, Jun 06, 2007 at 12:56:36AM +1000, Rusty Russell wrote: > > In recent -mm kernels, the TSC capability cannot be disabled, > > resulting in a divide by zero error in the normal sched_clock. > > That will hopefully change. I hope hpa

Re: [PATCH 2/6] lguest tsc fix

2007-06-05 Thread Andi Kleen
On Wed, Jun 06, 2007 at 12:56:36AM +1000, Rusty Russell wrote: > In recent -mm kernels, the TSC capability cannot be disabled, > resulting in a divide by zero error in the normal sched_clock. That will hopefully change. I hope hpa will just undo this. > > The correct fix is to have a special

[PATCH 2/6] lguest tsc fix

2007-06-05 Thread Rusty Russell
In recent -mm kernels, the TSC capability cannot be disabled, resulting in a divide by zero error in the normal sched_clock. The correct fix is to have a special lguest sched_clock implementation: this is as simple as it gets. Signed-off-by: Rusty Russell <[EMAIL PROTECTED]> ---

[PATCH 2/6] lguest tsc fix

2007-06-05 Thread Rusty Russell
In recent -mm kernels, the TSC capability cannot be disabled, resulting in a divide by zero error in the normal sched_clock. The correct fix is to have a special lguest sched_clock implementation: this is as simple as it gets. Signed-off-by: Rusty Russell [EMAIL PROTECTED] ---

Re: [PATCH 2/6] lguest tsc fix

2007-06-05 Thread Andi Kleen
On Wed, Jun 06, 2007 at 12:56:36AM +1000, Rusty Russell wrote: In recent -mm kernels, the TSC capability cannot be disabled, resulting in a divide by zero error in the normal sched_clock. That will hopefully change. I hope hpa will just undo this. The correct fix is to have a special lguest

Re: [PATCH 2/6] lguest tsc fix

2007-06-05 Thread Rusty Russell
On Tue, 2007-06-05 at 20:15 +0200, Andi Kleen wrote: On Wed, Jun 06, 2007 at 12:56:36AM +1000, Rusty Russell wrote: In recent -mm kernels, the TSC capability cannot be disabled, resulting in a divide by zero error in the normal sched_clock. That will hopefully change. I hope hpa will just