diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-01-12 16:10:31 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-02-03 09:33:03 +0300 |
commit | 69bbb87b3f144e4778f028fd85992aa8dea6ff28 (patch) | |
tree | 93aedc7ff9890816e9a6a413431e4ce2d8f4315e /kernel/stop_machine.c | |
parent | a6fddef49eef2cf68c23e91d73d6a6d5e2cd448f (diff) | |
download | linux-69bbb87b3f144e4778f028fd85992aa8dea6ff28.tar.xz |
shmem: convert shmem_write_end() to use a folio
Use a folio internally to shmem_write_end() which saves a number of calls
to compound_head() and lets us get rid of the custom code to zero out the
rest of a THP and supports folios of arbitrary size.
Link: https://lkml.kernel.org/r/20230112131031.1209553-1-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Cc: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'kernel/stop_machine.c')
0 files changed, 0 insertions, 0 deletions