Re: [RFCv2 15/16] KVM: Unmap protected pages from direct mapping

From: Peter Zijlstra
Date: Tue Oct 20 2020 - 03:13:02 EST


On Tue, Oct 20, 2020 at 09:18:58AM +0300, Kirill A. Shutemov wrote:
> If the protected memory feature enabled, unmap guest memory from
> kernel's direct mappings.
>
> Migration and KSM is disabled for protected memory as it would require a
> special treatment.

How isn't disabling migration a problem? Are we going to back allocation
by CMA instead?