[PATCH v3 1/2] kho: add support for preserving vmalloc allocations
Jason Gunthorpe
jgg at nvidia.com
Mon Sep 8 11:18:17 PDT 2025
On Mon, Sep 08, 2025 at 08:12:59PM +0200, Pratyush Yadav wrote:
> > +#define KHO_VMALLOC_FLAGS_MASK (VM_ALLOC | VM_ALLOW_HUGE_VMAP)
>
> I don't think it is a good idea to re-use VM flags. This can make adding
> more flags later down the line ugly. I think it would be better to
> define KHO_VMALLOC_FL* instead.
+1
This kind of stuff should be avoided, it becomes a very sneaky ABI.
Jason
More information about the kexec
mailing list