Isaku Yamahata wrote:
Yes, I also really want such a tool and I've thought of it. I want to prevent people from accidently breaking paravirtualization and only a way to do so would be by enforcing. I think it can be easily achived by CPP macro trick. At worst a simple .s (or .o) parser.
For what its worth, this hasn't been a problem on x86 at all. All the "interesting" instructions are used via macros/inline functions, and there have been no instances (that I know of, at least) of naked ones appearing anywhere. And all the gatekeeper maintainers are definitely aware of the paravirt constraints, so I don't think any would make it past review.
J -- To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |