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

Christopher Lameter
2019-10-30T12:09:25Z

On Wed, 30 Oct 2019, Mike Rapoport wrote:

> > /dev/securemem or so?
>
> A device driver will need to remove the secure area from the direct map and
> then we back to square one.

We have avoided the need for modifications to kernel core code. And its a
natural thing to treat this like special memory provided by a device
driver.