Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm/folio_batch: document missing struct members
@ 2026-11-13  4:10 Oscar Alejandro Sánchez Lucero
  0 siblings, 0 replies; only message 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 related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-13  4:10 UTC | newest]

Thread overview: (only message) (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

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