Re: [RFC][PATCH 0/4] slab: Allow for type introspection during allocation

From: Christoph Lameter (Ampere)
Date: Tue Jul 09 2024 - 13:56:57 EST


On Mon, 8 Jul 2024, Kees Cook wrote:


obj = kmalloc(obj, gfp);

Could we avoid repeating "obj" in this pattern?

F.e.

KMALLOC(obj, gfp);

instead?