Re: [PATCH v4 12/18] x86/sgx: Add EPC OOM path to forcefully reclaim EPC

From
Haitao Huang <hidden>
Date
2023-09-16 04:29:39
Also in
lkml
Reply to
Jarkko Sakkinen, 2023-09-13
On Wed, 13 Sep 2023 10:34:28 -0500, Jarkko Sakkinen [off-list ref] wrote:
quoted
+++ b/arch/x86/kernel/cpu/sgx/encl.h
@@ -39,6 +39,7 @@ enum sgx_encl_flags {
 	SGX_ENCL_DEBUG		= BIT(1),
 	SGX_ENCL_CREATED	= BIT(2),
 	SGX_ENCL_INITIALIZED	= BIT(3),
+	SGX_ENCL_OOM		= BIT(4),
Given how the constants are named before maybe SGX_ENCL_NO_MEMORY would
be more obvious.
Will do.
Thanks
Haitao
Thread (44 messages) 44 messages, 5 authors, last reply 2023-09-25
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