diff options
| author | 2026-08-21 17:03:37 -0500 | |
|---|---|---|
| committer | 2026-09-07 07:50:35 +0200 | |
| commit | 4164b1e3d728c7cc05e0c1171068aa046542ecc3 (patch) | |
| tree | 4c17a517537df363e76d919745a78bcbe73c7a8e /scripts/Makefile.thinlto | |
| parent | xfs: lock the healthmon when inserting unmount event (diff) | |
xfs: fix reclaimed page accounting in xfs_buf_free
To obtain nr. of pages in "size" bytes, we need howmany(size, PAGE_SIZE)
not howmany(size, PAGE_SHIFT). This over-reports reclaim by orders of
magnitude, up to 4096x on a 64k page system.
Fixes: e2874632a621 ("xfs: use vmalloc instead of vm_map_area for buffer backing memory")
Cc: stable@vger.kernel.org # v6.15+
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
