diff options
| author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2022-09-02 22:46:13 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2022-10-04 00:02:47 +0300 |
| commit | 7a7256d5f512b6c17957df7f59cf5e281b3ddba3 (patch) | |
| tree | bb89f8dcb9c5b34f25dfadecbb6f18e7c9e35a94 /include/linux/debugobjects.h | |
| parent | 6599591816f522c1cc8ec4eb5cea75738963756a (diff) | |
| download | linux-7a7256d5f512b6c17957df7f59cf5e281b3ddba3.tar.xz | |
shmem: convert shmem_mfill_atomic_pte() to use a folio
Assert that this is a single-page folio as there are several assumptions
in here that it's exactly PAGE_SIZE bytes large. Saves several calls to
compound_head() and removes the last caller of shmem_alloc_page().
Link: https://lkml.kernel.org/r/20220902194653.1739778-18-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
