[PATCH v4 0/3] Documentation: adopt new coding style of type-aware kmalloc-family

From: Manuel Ebner

Date: Wed Apr 29 2026 - 03:15:26 EST


Update the documentation to reflect new type-aware kmalloc-family as
suggested in commit 2932ba8d9c99 ("slab: Introduce kmalloc_obj()
and family")

[v3] -> [v4]:
state the default argument in deprecated.rst [3/3]

[v2] -> [v3]:
remove obvious wrong replacements in [1/3]
add Acked-by: Paul E. McKenney in [2/3]
change how to mark the optional argument in [3/3]
add recipants
--cc="linux-mm@xxxxxxxxx"
--to="Kees Cook"
--cc="Geert Uytterhoeven"

[v1] -> [v2]:
put RCU/* in a seperate patch [Patch 2/3]
Omit optional argument (GFP_KERNEL) as suggested by https://lwn.net/Articles/1062856/
deprecated.rst: change the argument gfp to optional [Patch 3/3]

Signed-off-by: Manuel Ebner <manuelebner@xxxxxxxxxxx>