* 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 kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html