diff options
author | Matthew Wilcox (Oracle) <willy@infradead.org> | 2023-06-12 22:01:41 +0100 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-06-19 16:19:32 -0700 |
commit | 6d68f644b97c30c0d030696dfcbb375b07753ad3 (patch) | |
tree | d3b0f218ba3c3c0d49ac00bcddb7d0ecdc8d82f2 /mm/memcontrol.c | |
parent | eee25182a80a8c86ed14af9b38205dc83ed274b5 (diff) | |
download | lwn-6d68f644b97c30c0d030696dfcbb375b07753ad3.tar.gz lwn-6d68f644b97c30c0d030696dfcbb375b07753ad3.zip |
buffer: convert block_truncate_page() to use a folio
Support large folios in block_truncate_page() and avoid three hidden calls
to compound_head().
[willy@infradead.org: fix check of filemap_grab_folio() return value]
Link: https://lkml.kernel.org/r/ZItZOt+XxV12HtzL@casper.infradead.org
Link: https://lkml.kernel.org/r/20230612210141.730128-15-willy@infradead.org
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Andreas Gruenbacher <agruenba@redhat.com>
Cc: Bob Peterson <rpeterso@redhat.com>
Cc: Hannes Reinecke <hare@suse.com>
Cc: Luis Chamberlain <mcgrof@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions