Re: [PATCH RFC] mm: add MAP_EXCLUSIVE to create exclusive user mappings

From: Florian Weimer
Date: Sun Oct 27 2019 - 06:30:39 EST

* Mike Rapoport:

> The patch below aims to allow applications to create mappins that have
> pages visible only to the owning process. Such mappings could be used to
> store secrets so that these secrets are not visible neither to other
> processes nor to the kernel.

How is this expected to interact with CRIU?

> I've only tested the basic functionality, the changes should be verified
> against THP/migration/compaction. Yet, I'd appreciate early feedback.

What are the expected semantics for VM migration? Should it fail?