summaryrefslogtreecommitdiff
path: root/arch/x86/kernel/cpu/sgx/encl.c
diff options
context:
space:
mode:
authorReinette Chatre <reinette.chatre@intel.com>2022-05-10 21:09:07 +0300
committerDave Hansen <dave.hansen@linux.intel.com>2022-07-07 20:13:05 +0300
commit6507cce561b43b071999502103804e3dc1478e60 (patch)
treeb5d09118ee5902fa01adb5795626f1979a379042 /arch/x86/kernel/cpu/sgx/encl.c
parent08ceab2c37d32f422f8d98540656ee5a416ba729 (diff)
downloadlinux-6507cce561b43b071999502103804e3dc1478e60.tar.xz
selftests/sgx: Page removal stress test
Create enclave with additional heap that consumes all physical SGX memory and then remove it. Depending on the available SGX memory this test could take a significant time to run (several minutes) as it (1) creates the enclave, (2) changes the type of every page to be trimmed, (3) enters the enclave once per page to run EACCEPT, before (4) the pages are finally removed. Signed-off-by: Reinette Chatre <reinette.chatre@intel.com> Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com> Acked-by: Jarkko Sakkinen <jarkko@kernel.org> Link: https://lkml.kernel.org/r/e7c6aa2ab30cb1c41e52b776958409c06970d168.1652137848.git.reinette.chatre@intel.com
Diffstat (limited to 'arch/x86/kernel/cpu/sgx/encl.c')
0 files changed, 0 insertions, 0 deletions