Re: [PATCH RFC v2] mm: Add f_ops->populate()

From: Dave Hansen
Date: Mon Mar 07 2022 - 10:29:34 EST


On 3/7/22 03:27, Jarkko Sakkinen wrote:
> But e.g. in __mm_populate() anything with (VM_IO | VM_PFNMAP) gets
> filtered out and never reach that function.
>
> I don't know unorthodox that'd be but could we perhaps have a VM
> flag for SGX?

SGX only works on a subset of the chips from one vendor on one
architecture. That doesn't seem worth burning a VM flag.