Re: Candidate Linux ABI for Intel AMX and hypothetical new related features

From
Florian Weimer <hidden>
Date
2021-05-21 14:45:42
Also in
lkml
Reply to
Dave Hansen, 2021-05-20
* 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
Thread (15 messages) 15 messages, 6 authors, last reply 2021-05-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help