Re: [PATCHv3 03/17] mm/ksm: Do not merge pages with different KeyIDs

Dave Hansen
2018-06-13T17:51:54Z

On 06/12/2018 07:39 AM, Kirill A. Shutemov wrote:
> Pages encrypted with different encryption keys are not subject to KSM
> merge. Otherwise it would cross security boundary.

This needs a much stronger explanation. Which KeyID would be used for
access in the new direct mappings? What actually happens without this
patch in place?