From: hpa@zytor.com (H. Peter Anvin) Date: Mon, 29 Jan 2018 10:30:05 -0800 Subject: [Linux-kselftest-mirror] selftests/x86/fsgsbase_64 test problem In-Reply-To: References: <20180126153631.ha7yc33fj5uhitjo@xps> <46328204-e363-e517-f30c-c8c94ac1442c@zytor.com> <624b9e67-14ee-6882-e55e-f337ec2471d3@zytor.com> Message-ID: <0b0a3cea-d951-d3be-16de-a0e9d50cb2ba@zytor.com> Content-Type: text/plain; charset="UTF-8" Message-ID: <20180129183005.8ifXUF6MbmnZvTGHmD4LPLvt2c9iJhoftvIQzRCw8xU@z> On 01/29/18 10:26, Andy Lutomirski wrote: >>> >>> That will utterly suck on non-UMIP machines that have >>> hypervisor-provided UMIP emulation. >> >> Is that a valid thing to optimize for, especially given that paranoid >> entries aren't the most common anyway? > > A bunch of people seem to care about NMI performance for perf. > That wasn't really the question... > And the current patch set works without this trick. But I believe the tricks it uses are fragile. > FWIW, if we switch all entries to the entry text trampoline, we get direct percpu access for free. That might be a better option. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kselftest" in the body of a message to majordomo at vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html