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

From
Len Brown <lenb@kernel.org>
Date
2021-05-21 23:08:39
Also in
lkml
Reply to
Dave Hansen, 2021-05-21
On Fri, May 21, 2021 at 7:06 PM Dave Hansen [off-list ref] wrote:
On 5/21/21 3:07 PM, Len Brown wrote:
quoted
My concern about synchronous allocation is that it will be very easy
to abuse.  programs and threads can ask for buffers they will never
use.  With on-demand allocation, we allocate buffers only if they are
actually needed.
If someone wants to abuse the on-demand allocation, they will simply
write a single bit to an AMX register.  That does *NOT* mean they will
actually execute an instruction that actually uses AMX to do something
meaningful.

In the face of abuse, I think the two approaches are very similar.
I didn't mean "abuse" in terms of malicious resource hogging.
I meant "abuse" in terms of unnecessarily using resources out of laziness.
Thread (13 messages) 13 messages, 5 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