aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/page-writeback.c
diff options
context:
space:
mode:
authorVishal Moola (Oracle) <vishal.moola@gmail.com>2023-01-04 13:14:27 -0800
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:33:13 -0800
commit247f9e1feef4e57911510c8f82348efb4491ea0e (patch)
treeda4591b146ed1be7a0fb0a517f9768be8e310318 /mm/page-writeback.c
parentpagemap: add filemap_grab_folio() (diff)
downloadwireguard-linux-247f9e1feef4e57911510c8f82348efb4491ea0e.tar.xz
wireguard-linux-247f9e1feef4e57911510c8f82348efb4491ea0e.zip
filemap: add filemap_get_folios_tag()
This is the equivalent of find_get_pages_range_tag(), except for folios instead of pages. One noteable difference is filemap_get_folios_tag() does not take in a maximum pages argument. It instead tries to fill a folio batch and stops either once full (15 folios) or reaching the end of the search range. The new function supports large folios, the initial function did not since all callers don't use large folios. Link: https://lkml.kernel.org/r/20230104211448.4804-3-vishal.moola@gmail.com Signed-off-by: Vishal Moola (Oracle) <vishal.moola@gmail.com> Reviewed-by: Matthew Wilcow (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/page-writeback.c')
0 files changed, 0 insertions, 0 deletions