On 25.10.19 10:24, Janosch Frank wrote:
KSM will not work on secure pages, because when the kernel reads a secure page, it will be encrypted and hence no two pages will look the same. Let's mark the guest pages as unmergeable when we transition to secure mode.
Patch itself looks good to me, but I do wonder: Is this really needed when pinning all encrypted pages currently?
Not sure about races between KSM and the pinning/encrypting thread, similar to paging, though ...
-- Thanks, David / dhildenb