Re: [PATCH 0/3] KVM: arm64: nv: Shadow ptdump fixes

From: Marc Zyngier

Date: Thu Jun 25 2026 - 05:56:23 EST


On Thu, 25 Jun 2026 08:47:04 +0100,
Wei-Lin Chang <weilin.chang@xxxxxxx> wrote:
>
> I don't see a way out with this per-mmu file scheme. The core issue is
> mmus have a different lifetime than the VM's debugfs directory, and
> both's removal can happen in parallel, i.e. the VM debugfs directory
> can be removed anytime we are in mmu notifier release freeing the mmus
> and their shadow ptdump files.

Why isn't that a problem with the existing S2 ptdump code?

M.

--
Without deviation from the norm, progress is not possible.