diff options
author | Matthew Wilcox (Oracle) | 2022-05-12 20:23:02 -0700 |
---|---|---|
committer | Andrew Morton | 2022-05-13 07:20:15 -0700 |
commit | e2e3fdc7d4afdb8e7ba981eba7827993f2d390a8 (patch) | |
tree | f747a326065eb01d0e328a79751b06f464dd5292 /mm/shuffle.h | |
parent | d33e4e1412c8b618f5f2f251ab9ddcfdf9f4adf3 (diff) |
swap: turn get_swap_page() into folio_alloc_swap()
This removes an assumption that a large folio is HPAGE_PMD_NR pages
in size.
Link: https://lkml.kernel.org/r/20220504182857.4013401-8-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/shuffle.h')
0 files changed, 0 insertions, 0 deletions