On Fri, Oct 3, 2014 at 1:22 PM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote: > > We could make the rule be that RDPMC is enabled if a perf event is > mmapped or TIF_SECCOMP is clear, but I'd prefer to be convinced that > there's an actual performance issue first. Ideally we can get this > all working with no API or ABI change at all. No, we can't use that rule. But we could say that RDPMC is enabled if a perf event is mmapped and no thread in the mm uses seccomp. I'll grumble a little bit about adding yet another piece of seccomp state. --Andy -- To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html