Re: [PATCH 02/11] Add "handle page fault" PV helper.

From: Ingo Molnar
Date: Sun Nov 08 2009 - 08:05:37 EST



* Avi Kivity <avi@xxxxxxxxxx> wrote:

> On 11/08/2009 02:51 PM, Ingo Molnar wrote:
> >>Maybe we should generalize paravirt-ops patching in case if (x) f() is
> >>deemed too expensive.
> >Yes, that's a nice idea. We have quite a number of 'conditional
> >callbacks' in various critical paths that could be made lighter via such
> >a technique.
> >
> > It would also free new callbacks from the 'it increases overhead
> > even if unused' criticism and made it easier to add them.
>
> We can take the "immediate values" infrastructure as a first step. Has
> that been merged?

No, there were doubts about whether patching in live instructions like
that is safe on all CPU types.

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