diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-09-02 20:46:24 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-03 14:02:49 -0700 |
commit | b0802b22a97581608df3d2db2e705fe599777b18 (patch) | |
tree | ee51c060da82813e5014251e2ced79e8a466263d /ipc | |
parent | 4601e2fc8b57840660ce1a1ee98aea873fa15eee (diff) | |
download | linux-b0802b22a97581608df3d2db2e705fe599777b18.tar.gz |
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>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions