Thread (36 messages) 36 messages, 9 authors, 2024-11-15

Re: [RFC PATCH v3 0/6] Direct Map Removal for guest_memfd

From: Dave Hansen <hidden>
Date: 2024-11-01 18:43:57
Also in: kvm, linux-doc, linux-kselftest, linux-mm, linux-riscv, linux-s390, lkml, loongarch

On 11/1/24 11:31, Manwaring, Derek wrote:
quoted
From that standpoint I'm still tempted to turn the question around a bit
for the host kernel's perspective. Like if the host kernel should not
(and indeed cannot with TDX controls in place) access guest private
memory, why not remove it from the direct map?
Pretend that the machine check warts aren't there.

It costs performance and complexity, for an only theoretical gain.  This
is especially true for a VMM that's not doing a just doing confidential
guests.  You fracture the direct map to pieces forever (for now).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help