Thread (35 messages) 35 messages, 12 authors, 2021-04-12

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

flat view

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2021-03-27 09:59:35
Also in: lkml

On Fri, Mar 26, 2021 at 11:39:18PM -0400, Len Brown wrote:
Hi Andy,

Say a mainline links with a math library that uses AMX without the
knowledge of the mainline.
What does this mean?  What happened to the context here?
Say the mainline is also linked with a userspace threading library
that thinks it has a concept of XSAVE area size.
How can the kernel (what I think you mean by "mainline" here) be linked
with a userspace library at all?
Wouldn't the change in XCR0, resulting in XSAVE size change, risk
confusing the threading library?
Shouldn't that be the job of the kernel and not userspace?

totally confused,

greg k-h
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help