Re: [Xen-devel] [PATCHv1] x86: don't schedule when handling #NM exception

From: H. Peter Anvin
Date: Mon Mar 17 2014 - 13:12:45 EST


On 03/17/2014 10:05 AM, Jan Beulich wrote:
>
> I don't think so - while it (as we now see) disallows certain things
> inside the guest, back at the time when this was designed there was
> no sign of any sort of allocation/scheduling being done inside the
> #NM handler. And furthermore, a PV specification is by its nature
> allowed to define deviations from real hardware behavior, or else it
> wouldn't be needed in the first place.
>

And this is exactly the sort of thing about Xen that make me want to go
on murderous rampage. You think you can just take the current Linux
implementation at whatever time you implement the code and later come
back and say "don't change that, we hard-coded it in Xen."

Calling that "active negligence and incompetence" is probably on the
mild side.

-hpa


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