Hi
On Wed, Sep 19, 2018 at 5:31 PM Michal Privoznik <mprivozn(a)redhat.com> wrote:
On 09/19/2018 01:43 PM, Jiri Denemark wrote:
BTW: what features does this new memfd backend provides that can't be
achieved via traditional -file or -ram backends?
2 things stand out:
- no need for files & mountpoint
- sealing, preventing grow/srink (qemu doesn't seal write)
memfd is thus a better way to share anonymous memory between processes
on linux (when you don't have other weird constrains).
Read also the initial post:
https://dvdhrm.wordpress.com/tag/memfd/.
Since then memfd has grown a few more features, such as hugetlb
support.