Re: [PATCH v2] x86/sgx: Prevent attempts to reclaim poisoned pages

2025-05-15 Thread Ingo Molnar
* Dave Hansen wrote: > Thanks for sending this, Andrew! > > I think I'll probably add a slightly shorter summary: > > tl;dr: SGX page reclaim touches the page to copy its contents to > secondary storage. SGX instructions do not gracefully handle machine > checks. Despite this, the existing SG

Re: [PATCH v2] x86/sgx: Prevent attempts to reclaim poisoned pages

2025-05-15 Thread Dave Hansen
Thanks for sending this, Andrew! I think I'll probably add a slightly shorter summary: tl;dr: SGX page reclaim touches the page to copy its contents to secondary storage. SGX instructions do not gracefully handle machine checks. Despite this, the existing SGX code will try to reclaim pages that i