Re: [PATCH 4/7] Allow selected bug checks to be skipped by paravirt kernels

From: Pavel Machek
Date: Thu Nov 02 2006 - 05:21:38 EST


Hi!

> >>Allow selected bug checks to be skipped by paravirt kernels. The two most
> >>important are the F00F workaround (which is either done by the hypervisor,
> >>or not required), and the 'hlt' instruction check, which can break under
> >>some hypervisors.
> >>
> >
> >How can hlt check break? It is hlt;hlt;hlt, IIRC, that looks fairly
> >innocent to me.
> >
>
> Not if you use tickless timers that don't generate interrupts to unhalt
> you, or if you delay ticks until the next scheduled timeout and you
> haven't yet scheduled any timeout. Both are likely in a hypervisor.

Well.. but you are working around problem, instead of fixing it.

Tickless kernels are possible on normal machines, too.

Please fix it properly... probably by requesting timer 10msec in
advance or something.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/