Hi, Here's a refresh and update on the kmalloc_obj() API proposal. Please see patch 2 for the specific details. And note that this is obviously not v6.15 material! :) Thanks! -Kees v4: - split __flex_counter() out and add appropriate helpers - add flex array examples to commit log - add "size" details to commit log - add treewide conversion details to commit log - improve treewide Coccinelle scripting - fix documentation typos v3: https://lore.kernel.org/lkml/20240822231324.make.666-kees@xxxxxxxxxx/ v2: https://lore.kernel.org/lkml/20240807235433.work.317-kees@xxxxxxxxxx/ v1: https://lore.kernel.org/lkml/20240719192744.work.264-kees@xxxxxxxxxx/ Kees Cook (2): compiler_types: Introduce __flex_counter() and family slab: Introduce kmalloc_obj() and family Documentation/process/deprecated.rst | 42 +++++++ include/linux/compiler_types.h | 31 +++++ include/linux/overflow.h | 36 ++++++ include/linux/slab.h | 170 +++++++++++++++++++++++++++ 4 files changed, 279 insertions(+) -- 2.34.1