Well, the paravirt_ops patching uses multibyte nops to pad out the
unused space in a patch site, and they're generally on hot paths
(otherwise we wouldn't bother with patching). But even then I don't
think the particular nop chosen matters all that much, and even if it
did using the dumb redundant prefix long nops seems to be as good as or
better than the p6 nops. The "call mcount" patching ftrace wants to do
would also be pretty common.
Yes, that would be a good idea.
Yep. We could run the p6 nops with an exception handler to see if the
cpu actually supports them or not. And if not, just fall back to
something simple and good enough.
J
--