Re: [PATCH v8 net-next 2/5] cache: enforce cache groups
From: Shakeel Butt <hidden>
Date: 2023-12-02 20:09:01
From: Shakeel Butt <hidden>
Date: 2023-12-02 20:09:01
On Wed, Nov 29, 2023 at 07:27:53AM +0000, Coco Li wrote:
Set up build time warnings to safeguard against future header changes of organized structs. Warning includes: 1) whether all variables are still in the same cache group 2) whether all the cache groups have the sum of the members size (in the maximum condition, including all members defined in configs) The __cache_group* variables are ignored in kernel-doc check in the various header files they appear in to enforce the cache groups. Suggested-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Coco Li <redacted>
Reviewed-by: Shakeel Butt <redacted>