Re: [PATCH v3 23/35] mm/slub: Mark slab_free_freelist_hook() __always_inline

From: Kees Cook
Date: Mon Feb 12 2024 - 20:14:05 EST


On Mon, Feb 12, 2024 at 01:39:09PM -0800, Suren Baghdasaryan wrote:
> From: Kent Overstreet <kent.overstreet@xxxxxxxxx>
>
> It seems we need to be more forceful with the compiler on this one.

Sure, but why?

>
> Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook