lkml.org 
[lkml]   [2021]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v5 21/28] x86/fpu/amx: Initialize child's AMX state
On Mon, May 24, 2021 at 2:14 PM Andy Lutomirski <luto@kernel.org> wrote:

> What does VOLATILE mean in this context?

Volatile means caller-saved.

Volatile registers can not be used for globals, static, or for
parameter passing.

ie. By the time the callee is running, they must be assumed to be invalid.

This means that any routine, including the target of a system call,
such as fork/clone, can't assume that any data exists in these
registers.

--
Len Brown, Intel Open Source Technology Center

\
 
 \ /
  Last update: 2021-05-24 20:21    [W:0.054 / U:1.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site