|
|
Log in / Subscribe / Register

Documentation: adopt new coding style of type-aware kmalloc-family

From:  Manuel Ebner <manuelebner-AT-mailbox.org>
To:  Jonathan Corbet <corbet-AT-lwn.net>, Shuah Khan <skhan-AT-linuxfoundation.org>, linux-doc-AT-vger.kernel.org, Kees Cook <kees-AT-kernel.org>
Subject:  [PATCH v4 0/3] Documentation: adopt new coding style of type-aware kmalloc-family
Date:  Wed, 29 Apr 2026 09:08:01 +0200
Message-ID:  <20260429070759.309110-3-manuelebner@mailbox.org>
Cc:  linux-kernel-AT-vger.kernel.org, workflows-AT-vger.kernel.org, linux-sound-AT-vger.kernel.org, rcu-AT-vger.kernel.org, linux-media-AT-vger.kernel.org, linux-mm-AT-kvack.org, Manuel Ebner <manuelebner-AT-mailbox.org>
Archive-link:  Article

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@kvack.org"
 --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@mailbox.org>



Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds