Re: [PATCH v3 03/35] fs: Convert alloc_inode_sb() to a macro

From: Kees Cook
Date: Mon Feb 12 2024 - 17:07:50 EST


On Mon, Feb 12, 2024 at 01:38:49PM -0800, Suren Baghdasaryan wrote:
> From: Kent Overstreet <kent.overstreet@xxxxxxxxx>
>
> We're introducing alloc tagging, which tracks memory allocations by
> callsite. Converting alloc_inode_sb() to a macro means allocations will
> be tracked by its caller, which is a bit more useful.
>
> Signed-off-by: Kent Overstreet <kent.overstreet@xxxxxxxxx>

Yup, getting these all doing direct calls will be nice.

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook