[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pmxk87th.fsf@oldenburg.str.redhat.com>
Date: Fri, 21 May 2021 16:44:58 +0200
From: Florian Weimer <fweimer@...hat.com>
To: Dave Hansen via Libc-alpha <libc-alpha@...rceware.org>
Cc: Len Brown <lenb@...nel.org>, Dave Hansen <dave.hansen@...el.com>,
Rich Felker <dalias@...c.org>,
Linux API <linux-api@...r.kernel.org>,
"Bae, Chang Seok" <chang.seok.bae@...el.com>,
X86 ML <x86@...nel.org>, LKML <linux-kernel@...r.kernel.org>,
Kyle Huey <me@...ehuey.com>, Borislav Petkov <bp@...en8.de>,
Andy Lutomirski <luto@...nel.org>,
Thomas Gleixner <tglx@...utronix.de>,
Keno Fischer <keno@...iacomputing.com>,
Arjan van de Ven <arjan@...ux.intel.com>,
Willy Tarreau <w@....eu>
Subject: Re: Candidate Linux ABI for Intel AMX and hypothetical new related
features
* Dave Hansen via Libc-alpha:
> Our system calls are *REALLY* fast. We can even do a vsyscall for this
> if we want to get the overhead down near zero. Userspace can also cache
> the "I did the prctl()" state in thread-local storage if it wants to
> avoid the syscall.
Why can't userspace look at XCR0 to make the decision?
And we added an interface for querying x86 CPU features to glibc 2.33
which is completely incompatible with this because it assumes that CPU
features do not change during the lifetime of a process. 8-(
Thanks,
Florian
Powered by blists - more mailing lists