Re: [PATCH 7.2 v2 07/12] fs: remove nr_thps from struct address_space
From: Matthew Wilcox
Date: Mon Apr 13 2026 - 16:44:35 EST
On Mon, Apr 13, 2026 at 03:20:25PM -0400, Zi Yan wrote:
> filemap_nr_thps*() are removed, the related field, address_space->nr_thps,
> is no longer needed. Remove it.
... this shrinks struct address_space by 8 bytes on 64-bit systems
which may increase the number of inodes we can cache.
> Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@xxxxxxxxxx>
> Acked-by: David Hildenbrand (Arm) <david@xxxxxxxxxx>
> Reviewed-by: Lance Yang <lance.yang@xxxxxxxxx>
> Signed-off-by: Zi Yan <ziy@xxxxxxxxxx>
Reviewed-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx>