[PATCH v4 1/2] kho: Adopt radix tree for preserved memory tracking

Jason Gunthorpe jgg at nvidia.com
Tue Jan 13 05:05:26 PST 2026


On Tue, Jan 13, 2026 at 01:34:42PM +0200, Mike Rapoport wrote:

> For example mshv intends to use kho_radix_tree to track the hypervisor
> memory and there unpreserving will be a part of the normal flow.

I do not think this is a good idea.

Nothing should be touching KHO until a kexec sequence is started. KHO
calls should WARN_ON prior to this point. If a kexec sequence aborts
then the entire radix tree should be discarded and it should go back
to WARN_ON'ing KHO calls.

Jason



More information about the kexec mailing list