mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mm/folio_batch: document missing struct members
@ 2026-11-13  4:10 Oscar Alejandro Sánchez Lucero
  2026-11-13 10:17 ` David Hildenbrand (Arm)
  0 siblings, 1 reply; 2+ messages in thread
From: Oscar Alejandro Sánchez Lucero @ 2026-11-13  4:10 UTC (permalink / raw)
  To: David Hildenbrand, Lorenzo Stoakes, Liam R. Howlett,
	Vlastimil Babka, Mike Rapoport, Suren Baghdasaryan, Michal Hocko,
	Andrew Morton, Matthew Wilcox
  Cc: linux-mm, linux-kernel, Oscar Alejandro Sánchez Lucero

Add missing kernel-doc descriptions for @nr, @i, @percpu_pvec_drained,
and @folios in struct folio_batch to fix warnings.

Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
---
 include/linux/folio_batch.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/linux/folio_batch.h b/include/linux/folio_batch.h
index b45946adc50b..7731dcd249a8 100644
--- a/include/linux/folio_batch.h
+++ b/include/linux/folio_batch.h
@@ -18,6 +18,11 @@ struct folio;
 
 /**
  * struct folio_batch - A collection of folios.
+ * @nr: Number of folios currently in the batch.
+ * @i: Index of the next folio to process in folio_batch_next().
+ * @percpu_pvec_drained: Whether the per-CPU deferred LRU queues have already
+ *                       been drained during __folio_batch_release().
+ * @folios: Array of pointers to the folios in the batch.
  *
  * The folio_batch is used to amortise the cost of retrieving and
  * operating on a set of folios.  The order of folios in the batch may be

---
base-commit: 9d66f26fefacebfeed15de31c1123451a17ff119
change-id: 20261112-folio-batch-doc-fa4f7e18ec85

Best regards,
-- 
Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mm/folio_batch: document missing struct members
  2026-11-13  4:10 [PATCH] mm/folio_batch: document missing struct members Oscar Alejandro Sánchez Lucero
@ 2026-11-13 10:17 ` David Hildenbrand (Arm)
  0 siblings, 0 replies; 2+ messages in thread
From: David Hildenbrand (Arm) @ 2026-11-13 10:17 UTC (permalink / raw)
  To: Oscar Alejandro Sánchez Lucero, Lorenzo Stoakes,
	Liam R. Howlett, Vlastimil Babka, Mike Rapoport,
	Suren Baghdasaryan, Michal Hocko, Andrew Morton, Matthew Wilcox
  Cc: linux-mm, linux-kernel

On 11/13/26 05:10, Oscar Alejandro Sánchez Lucero wrote:
> Add missing kernel-doc descriptions for @nr, @i, @percpu_pvec_drained,
> and @folios in struct folio_batch to fix warnings.
> 
> Signed-off-by: Oscar Alejandro Sánchez Lucero <aleszlucero@gmail.com>
> ---
>  include/linux/folio_batch.h | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/include/linux/folio_batch.h b/include/linux/folio_batch.h
> index b45946adc50b..7731dcd249a8 100644
> --- a/include/linux/folio_batch.h
> +++ b/include/linux/folio_batch.h
> @@ -18,6 +18,11 @@ struct folio;
>  
>  /**
>   * struct folio_batch - A collection of folios.
> + * @nr: Number of folios currently in the batch.
> + * @i: Index of the next folio to process in folio_batch_next().
> + * @percpu_pvec_drained: Whether the per-CPU deferred LRU queues have already
> + *                       been drained during __folio_batch_release().
> + * @folios: Array of pointers to the folios in the batch.
>   *
>   * The folio_batch is used to amortise the cost of retrieving and
>   * operating on a set of folios.  The order of folios in the batch may be
> 
> ---
> base-commit: 9d66f26fefacebfeed15de31c1123451a17ff119
> change-id: 20261112-folio-batch-doc-fa4f7e18ec85
> 
> Best regards,

Waiting for more review before queuing this.

Reviewed-by: David Hildenbrand (Arm) <david@kernel.org>

-- 
Cheers,

David

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-11-13 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13  4:10 [PATCH] mm/folio_batch: document missing struct members Oscar Alejandro Sánchez Lucero
2026-11-13 10:17 ` David Hildenbrand (Arm)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®