Re: [PATCH v4 2/2] slab: Introduce kmalloc_obj() and family

From: Christoph Lameter (Ampere)

Date: Tue Oct 07 2025 - 13:47:28 EST


On Tue, 7 Oct 2025, Kees Cook wrote:

> But all of that is orthogonal to just _having_ the type info available.

iOS did go the path of creating basically one slab cache for each
"type" of kmalloc for security reasons.

See https://security.apple.com/blog/towards-the-next-generation-of-xnu-memory-safety/