Re: [PATCH v3 0/2] x86/sgx: Fix two data races in EAUG/EREMOVE flows

From: Dave Hansen
Date: Tue May 28 2024 - 12:01:18 EST


On 5/17/24 04:06, Dmitrii Kuvaiskii wrote:
> We wrote a trivial stress test to reproduce the hangs observed in
> real-world applications. The test stresses #PF-based page allocation and
> SGX_IOC_ENCLAVE_REMOVE_PAGES flows in the SGX driver:

This seems like something we'd want in the kernel SGX selftests.