Re: [RFC PATCH 0/6] Add support for shared PTEs across processes
From: Matthew Wilcox
Date: Fri Jan 21 2022 - 20:41:51 EST
On Sat, Jan 22, 2022 at 01:39:46AM +0000, Longpeng (Mike, Cloud Infrastructure Service Product Dept.) wrote:
> > > Our use case is that we have some very large files stored on persistent
> > > memory which we want to mmap in thousands of processes. So the first
>
> The memory overhead of PTEs would be significantly saved if we use
> hugetlbfs in this case, but why not?
Because we want the files to be persistent across reboots.