Re: [PATCH v5 09/16] kexec: enable KHO support for memory preservation
From: Jason Gunthorpe
Date: Fri Apr 04 2025 - 13:31:54 EST
On Fri, Apr 04, 2025 at 04:24:54PM +0000, Pratyush Yadav wrote:
> Only if the objects in the slab cache are of a format that doesn't
> change, and I am not sure if that is the case anywhere. Maybe a driver
> written with KHO in mind would find it useful, but that's way down the
> line.
Things like iommu STE/CD entires are HW specified and currently
allocated from slab, so there may be something interesting there.
They could also possibly be converted to page allocations..
But I think we will come up with cases where maybe a kmemcache
specifically for KHO objects makes some sense. Need to get further
along.
Jason