* [PATCH] Documentation: device-mapper: adopt new coding style of type-aware kmalloc-family
@ 2026-06-27 9:15 Manuel Ebner
2026-06-27 16:24 ` Jonathan Corbet
0 siblings, 1 reply; 2+ messages in thread
From: Manuel Ebner @ 2026-06-27 9:15 UTC (permalink / raw)
To: Alasdair Kergon, Mike Snitzer, Mikulas Patocka,
Benjamin Marzinski, Jonathan Corbet, Shuah Khan, Kees Cook,
open list:DEVICE-MAPPER (LVM), open list:DOCUMENTATION,
open list
Cc: Manuel Ebner
Change the Documentation to reflect this commit 69050f8d6d07 ("treewide: Replace
kmalloc with kmalloc_obj for non-scalar types")
kmalloc -> kmalloc_objs
Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
Documentation/admin-guide/device-mapper/statistics.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/admin-guide/device-mapper/statistics.rst b/Documentation/admin-guide/device-mapper/statistics.rst
index 41ded0bc5933..2190b90118f8 100644
--- a/Documentation/admin-guide/device-mapper/statistics.rst
+++ b/Documentation/admin-guide/device-mapper/statistics.rst
@@ -30,7 +30,7 @@ region, etc. Unique region_ids enable multiple userspace programs to
request and process statistics for the same DM device without stepping
on each other's data.
-The creation of DM statistics will allocate memory via kmalloc or
+The creation of DM statistics will allocate memory via kmalloc_objs or
fallback to using vmalloc space. At most, 1/4 of the overall system
memory may be allocated by DM statistics. The admin can see how much
memory is used by reading:
--
2.54.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] Documentation: device-mapper: adopt new coding style of type-aware kmalloc-family
2026-06-27 9:15 [PATCH] Documentation: device-mapper: adopt new coding style of type-aware kmalloc-family Manuel Ebner
@ 2026-06-27 16:24 ` Jonathan Corbet
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Corbet @ 2026-06-27 16:24 UTC (permalink / raw)
To: Manuel Ebner, Alasdair Kergon, Mike Snitzer, Mikulas Patocka,
Benjamin Marzinski, Shuah Khan, Kees Cook,
open list:DEVICE-MAPPER (LVM), open list:DOCUMENTATION,
open list
Cc: Manuel Ebner
Manuel Ebner <manuelebner@mailbox.org> writes:
> Change the Documentation to reflect this commit 69050f8d6d07 ("treewide: Replace
> kmalloc with kmalloc_obj for non-scalar types")
> kmalloc -> kmalloc_objs
>
> Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
> ---
> Documentation/admin-guide/device-mapper/statistics.rst | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/Documentation/admin-guide/device-mapper/statistics.rst b/Documentation/admin-guide/device-mapper/statistics.rst
> index 41ded0bc5933..2190b90118f8 100644
> --- a/Documentation/admin-guide/device-mapper/statistics.rst
> +++ b/Documentation/admin-guide/device-mapper/statistics.rst
> @@ -30,7 +30,7 @@ region, etc. Unique region_ids enable multiple userspace programs to
> request and process statistics for the same DM device without stepping
> on each other's data.
>
> -The creation of DM statistics will allocate memory via kmalloc or
> +The creation of DM statistics will allocate memory via kmalloc_objs or
A nit, but if you're going to fix the function name, why not make it
kmalloc_objs() so that the automarkup code can do its magic?
Thanks,
jon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-27 16:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-27 9:15 [PATCH] Documentation: device-mapper: adopt new coding style of type-aware kmalloc-family Manuel Ebner
2026-06-27 16:24 ` Jonathan Corbet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox