mm: add __folio_batch_release()
authorMatthew Wilcox (Oracle) <willy@infradead.org>
Wed, 21 Jun 2023 16:45:46 +0000 (17:45 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 23 Jun 2023 23:59:28 +0000 (16:59 -0700)
commit982a7194afc9a58ec55ed174c61869c2722bb918
treea08371ec008c4dfb01e0c4ba0632fd9135f84cb7
parentf5f288a023193dddbc612d00abaa8f7353b44c5f
mm: add __folio_batch_release()

This performs the same role as __pagevec_release(), ie skipping the check
for batch length of 0.

Link: https://lkml.kernel.org/r/20230621164557.3510324-3-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/pagevec.h