[PATCH v16 07/11] secretmem: use PMD-size pages to amortize direct map fragmentation

Michal Hocko mhocko at suse.com
Tue Feb 2 09:22:02 EST 2021


On Tue 02-02-21 15:12:21, David Hildenbrand wrote:
[...]
> I think secretmem behaves much more like longterm GUP right now
> ("unmigratable", "lifetime controlled by user space", "cannot go on
> CMA/ZONE_MOVABLE"). I'd either want to reasonably well control/limit it or
> make it behave more like mlocked pages.

I thought I have already asked but I must have forgotten. Is there any
actual reason why the memory is not movable? Timing attacks?
-- 
Michal Hocko
SUSE Labs



More information about the linux-riscv mailing list