* [PATCH mm-hotfixes 0/4] mm kernel-doc fixes
@ 2025-12-19 1:40 Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 1/4] mm: Describe @flags parameter in memalloc_flags_save() Bagas Sanjaya
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-19 1:40 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Memory Management List,
Linux Media, Linux DRI Development, linaro-mm-sig
Cc: Sumit Semwal, Christian König, Alexander Potapenko,
Marco Elver, Dmitry Vyukov, Andrew Morton, Uladzislau Rezki,
David Hildenbrand (Red Hat),
Lorenzo Stoakes, Peter Zijlstra, Vlastimil Babka, Max Kellermann,
Ryan Roberts, Bagas Sanjaya, Nysal Jan K.A.,
Kent Overstreet, Vitaly Wool, Harry Yoo, Mao Zhu, Shaomin Deng,
Charles Han, Jilin Yuan, Swaraj Gaikwad, George Anthony Vernon
Hi,
Here are kernel-doc fixes for mm subsystem, based on mm-hotfixes-unstable
branch. This series is split from previous assorted kernel-doc fixes series
[1] with review trailers applied.
I'm also including textsearch fix since there's currently no maintainer
for include/linux/textsearch.h (get_maintainer.pl only shows LKML).
Enjoy!
[1]: https://lore.kernel.org/linux-fsdevel/20251215113903.46555-1-bagasdotme@gmail.com/
Bagas Sanjaya (4):
mm: Describe @flags parameter in memalloc_flags_save()
textsearch: Describe @list member in ts_ops search
mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name
mm, kfence: Describe @slab parameter in __kfence_obj_info()
include/linux/kfence.h | 1 +
include/linux/sched/mm.h | 1 +
include/linux/textsearch.h | 1 +
mm/vmalloc.c | 2 +-
4 files changed, 4 insertions(+), 1 deletion(-)
base-commit: 980dbceadd50af9437257d8095d4a3606818e8c4
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH mm-hotfixes 1/4] mm: Describe @flags parameter in memalloc_flags_save()
2025-12-19 1:40 [PATCH mm-hotfixes 0/4] mm kernel-doc fixes Bagas Sanjaya
@ 2025-12-19 1:40 ` Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 2/4] textsearch: Describe @list member in ts_ops search Bagas Sanjaya
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-19 1:40 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Memory Management List,
Linux Media, Linux DRI Development, linaro-mm-sig
Cc: Sumit Semwal, Christian König, Alexander Potapenko,
Marco Elver, Dmitry Vyukov, Andrew Morton, Uladzislau Rezki,
David Hildenbrand (Red Hat),
Lorenzo Stoakes, Peter Zijlstra, Vlastimil Babka, Max Kellermann,
Ryan Roberts, Bagas Sanjaya, Nysal Jan K.A.,
Kent Overstreet, Vitaly Wool, Harry Yoo, Mao Zhu, Shaomin Deng,
Charles Han, Jilin Yuan, Swaraj Gaikwad, George Anthony Vernon
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/sched/mm.h:332 function parameter 'flags' not described in 'memalloc_flags_save'
Describe @flags to fix it.
Fixes: 3f6d5e6a468d02 ("mm: introduce memalloc_flags_{save,restore}")
Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>
Acked-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
include/linux/sched/mm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/sched/mm.h b/include/linux/sched/mm.h
index 0e1d73955fa511..95d0040df58413 100644
--- a/include/linux/sched/mm.h
+++ b/include/linux/sched/mm.h
@@ -325,6 +325,7 @@ static inline void might_alloc(gfp_t gfp_mask)
/**
* memalloc_flags_save - Add a PF_* flag to current->flags, save old value
+ * @flags: Flags to add.
*
* This allows PF_* flags to be conveniently added, irrespective of current
* value, and then the old version restored with memalloc_flags_restore().
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH mm-hotfixes 2/4] textsearch: Describe @list member in ts_ops search
2025-12-19 1:40 [PATCH mm-hotfixes 0/4] mm kernel-doc fixes Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 1/4] mm: Describe @flags parameter in memalloc_flags_save() Bagas Sanjaya
@ 2025-12-19 1:40 ` Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 3/4] mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 4/4] mm, kfence: Describe @slab parameter in __kfence_obj_info() Bagas Sanjaya
3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-19 1:40 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Memory Management List,
Linux Media, Linux DRI Development, linaro-mm-sig
Cc: Sumit Semwal, Christian König, Alexander Potapenko,
Marco Elver, Dmitry Vyukov, Andrew Morton, Uladzislau Rezki,
David Hildenbrand (Red Hat),
Lorenzo Stoakes, Peter Zijlstra, Vlastimil Babka, Max Kellermann,
Ryan Roberts, Bagas Sanjaya, Nysal Jan K.A.,
Kent Overstreet, Vitaly Wool, Harry Yoo, Mao Zhu, Shaomin Deng,
Charles Han, Jilin Yuan, Swaraj Gaikwad, George Anthony Vernon,
Thomas Graf, David S. Miller
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/textsearch.h:49 struct member 'list' not described in 'ts_ops'
Describe @list member to fix it.
Cc: Thomas Graf <tgraf@suug.ch>
Cc: "David S. Miller" <davem@davemloft.net>
Fixes: 2de4ff7bd658c9 ("[LIB]: Textsearch infrastructure.")
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
include/linux/textsearch.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/textsearch.h b/include/linux/textsearch.h
index 6673e4d4ac2e1b..4933777404d618 100644
--- a/include/linux/textsearch.h
+++ b/include/linux/textsearch.h
@@ -35,6 +35,7 @@ struct ts_state
* @get_pattern: return head of pattern
* @get_pattern_len: return length of pattern
* @owner: module reference to algorithm
+ * @list: list to search
*/
struct ts_ops
{
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH mm-hotfixes 3/4] mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name
2025-12-19 1:40 [PATCH mm-hotfixes 0/4] mm kernel-doc fixes Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 1/4] mm: Describe @flags parameter in memalloc_flags_save() Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 2/4] textsearch: Describe @list member in ts_ops search Bagas Sanjaya
@ 2025-12-19 1:40 ` Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 4/4] mm, kfence: Describe @slab parameter in __kfence_obj_info() Bagas Sanjaya
3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-19 1:40 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Memory Management List,
Linux Media, Linux DRI Development, linaro-mm-sig
Cc: Sumit Semwal, Christian König, Alexander Potapenko,
Marco Elver, Dmitry Vyukov, Andrew Morton, Uladzislau Rezki,
David Hildenbrand (Red Hat),
Lorenzo Stoakes, Peter Zijlstra, Vlastimil Babka, Max Kellermann,
Ryan Roberts, Bagas Sanjaya, Nysal Jan K.A.,
Kent Overstreet, Vitaly Wool, Harry Yoo, Mao Zhu, Shaomin Deng,
Charles Han, Jilin Yuan, Swaraj Gaikwad, George Anthony Vernon,
Vishal Moola (Oracle)
Sphinx reports kernel-doc warning:
WARNING: ./mm/vmalloc.c:4284 expecting prototype for vrealloc_node_align_noprof(). Prototype was for vrealloc_node_align() instead
Fix the macro name in vrealloc_node_align_noprof() kernel-doc comment.
Fixes: 4c5d3365882dbb ("mm/vmalloc: allow to set node and align in vrealloc")
Reviewed-by: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
mm/vmalloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index 41dd01e8430c54..628f96e83b1187 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -4248,7 +4248,7 @@ void *vzalloc_node_noprof(unsigned long size, int node)
EXPORT_SYMBOL(vzalloc_node_noprof);
/**
- * vrealloc_node_align_noprof - reallocate virtually contiguous memory; contents
+ * vrealloc_node_align - reallocate virtually contiguous memory; contents
* remain unchanged
* @p: object to reallocate memory for
* @size: the size to reallocate
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH mm-hotfixes 4/4] mm, kfence: Describe @slab parameter in __kfence_obj_info()
2025-12-19 1:40 [PATCH mm-hotfixes 0/4] mm kernel-doc fixes Bagas Sanjaya
` (2 preceding siblings ...)
2025-12-19 1:40 ` [PATCH mm-hotfixes 3/4] mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name Bagas Sanjaya
@ 2025-12-19 1:40 ` Bagas Sanjaya
3 siblings, 0 replies; 5+ messages in thread
From: Bagas Sanjaya @ 2025-12-19 1:40 UTC (permalink / raw)
To: Linux Kernel Mailing List, Linux Memory Management List,
Linux Media, Linux DRI Development, linaro-mm-sig
Cc: Sumit Semwal, Christian König, Alexander Potapenko,
Marco Elver, Dmitry Vyukov, Andrew Morton, Uladzislau Rezki,
David Hildenbrand (Red Hat),
Lorenzo Stoakes, Peter Zijlstra, Vlastimil Babka, Max Kellermann,
Ryan Roberts, Bagas Sanjaya, Nysal Jan K.A.,
Kent Overstreet, Vitaly Wool, Harry Yoo, Mao Zhu, Shaomin Deng,
Charles Han, Jilin Yuan, Swaraj Gaikwad, George Anthony Vernon
Sphinx reports kernel-doc warning:
WARNING: ./include/linux/kfence.h:220 function parameter 'slab' not described in '__kfence_obj_info'
Fix it by describing @slab parameter.
Fixes: 2dfe63e61cc31e ("mm, kfence: support kmem_dump_obj() for KFENCE objects")
Acked-by: Marco Elver <elver@google.com>
Acked-by: David Hildenbrand (Red Hat) <david@kernel.org>
Acked-by: Harry Yoo <harry.yoo@oracle.com>
Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com>
---
include/linux/kfence.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/linux/kfence.h b/include/linux/kfence.h
index 0ad1ddbb8b996a..e5822f6e7f2794 100644
--- a/include/linux/kfence.h
+++ b/include/linux/kfence.h
@@ -211,6 +211,7 @@ struct kmem_obj_info;
* __kfence_obj_info() - fill kmem_obj_info struct
* @kpp: kmem_obj_info to be filled
* @object: the object
+ * @slab: the slab
*
* Return:
* * false - not a KFENCE object
--
An old man doll... just what I always wanted! - Clara
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-12-19 1:40 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-19 1:40 [PATCH mm-hotfixes 0/4] mm kernel-doc fixes Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 1/4] mm: Describe @flags parameter in memalloc_flags_save() Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 2/4] textsearch: Describe @list member in ts_ops search Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 3/4] mm: vmalloc: Fix up vrealloc_node_align() kernel-doc macro name Bagas Sanjaya
2025-12-19 1:40 ` [PATCH mm-hotfixes 4/4] mm, kfence: Describe @slab parameter in __kfence_obj_info() Bagas Sanjaya
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox