Re: [PATCH v1 3/3] x86/entry: Set FRED RSP0 on return to userspace instead of context switch
From: Xin Li
Date: Fri Aug 09 2024 - 13:38:16 EST
On 8/9/2024 3:45 AM, Nikolay Borisov wrote:
+#define TIF_LOAD_USER_STATES 30 /* Load user level states */
Wouldn't something along the l ines of TIF_LOAD_FRED_RSP be more
descriptive, or it's expected that this flag can cover more state in the
future?
Sean mentioned TIF_LOAD_FRED_RSP, however we also have FRED SSP0, which
needs to be handled similarly.
And we also want to use it to cover future states.