Re: [PATCH v2 1/2] rust: page: add `SafePage` for race-free page access
From: Andreas Hindborg
Date: Wed Jun 10 2026 - 05:20:49 EST
"Alice Ryhl" <aliceryhl@xxxxxxxxxx> writes:
> On Fri, Jun 05, 2026 at 02:49:14PM +0200, Andreas Hindborg wrote:
>> `SafePage` wraps a regular page but adds an invariant that the page data
>> area does not incur data races. This means `SafePage` cannot be mapped to
>> user space or shared with devices, and it becomes simpler to directly
>> reference the contents of the page.
>>
>> Signed-off-by: Andreas Hindborg <a.hindborg@xxxxxxxxxx>
>
> Perhaps it should be called ExclusivePage?
Yes, let's do that.
Best regards,
Andreas Hindborg