commit | b0802b22a97581608df3d2db2e705fe599777b18 | [log] [tgz] |
---|---|---|
author | Matthew Wilcox (Oracle) <willy@infradead.org> | Fri Sep 02 20:46:24 2022 +0100 |
committer | Andrew Morton <akpm@linux-foundation.org> | Mon Oct 03 14:02:49 2022 -0700 |
tree | ee51c060da82813e5014251e2ced79e8a466263d | |
parent | 4601e2fc8b57840660ce1a1ee98aea873fa15eee [diff] |
shmem: convert shmem_fallocate() to use a folio Call shmem_get_folio() and use the folio APIs instead of the page APIs. Saves several calls to compound_head() and removes assumptions about the size of a large folio. Link: https://lkml.kernel.org/r/20220902194653.1739778-29-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>