Re: [PATCH v3 22/35] mm/slab: enable slab allocation tagging for kmalloc and friends
From: Kees Cook
Date: Mon Feb 12 2024 - 18:01:57 EST
On Mon, Feb 12, 2024 at 01:39:08PM -0800, Suren Baghdasaryan wrote:
> Redefine kmalloc, krealloc, kzalloc, kcalloc, etc. to record allocations
> and deallocations done by these functions.
>
> Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
> Co-developed-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
> Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>
I'm not a big fan of the _noprof suffix, but anything else I can think
of isn't as descriptive, so:
Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>
--
Kees Cook