]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: correctly acount for reclaimable slabs
authorDave Chinner <dchinner@redhat.com>
Wed, 25 Mar 2020 03:10:28 +0000 (20:10 -0700)
committerDarrick J. Wong <darrick.wong@oracle.com>
Fri, 27 Mar 2020 15:32:54 +0000 (08:32 -0700)
commitfcffa675f1f2f0cc74c44657870b1702e63c729f
treea0389cb893f36ff5da32d9e43547c6c4f09bfb63
parentc340f9d564492492bbf9ea34b95456cd9c24787b
xfs: correctly acount for reclaimable slabs

The XFS inode item slab actually reclaimed by inode shrinker
callbacks from the memory reclaim subsystem. These should be marked
as reclaimable so the mm subsystem has the full picture of how much
memory it can actually reclaim from the XFS slab caches.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Brian Foster <bfoster@redhat.com>
Reviewed-by: Allison Collins <allison.henderson@oracle.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/xfs_super.c