]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xfs: move invalidate_kernel_vmap_range to xfs_buf_ioend
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Jan 2025 14:12:14 +0000 (15:12 +0100)
committerCarlos Maiolino <cem@kernel.org>
Tue, 14 Jan 2025 10:38:15 +0000 (11:38 +0100)
commit5c82a471c2b71357f6319f6ec34d20691969a6ba
treed65f3a1e599bcd65a1660d2b31e430f421ff51ea
parentfac69ec8cd743f509129deb5feae9e3f9ebc2cc8
xfs: move invalidate_kernel_vmap_range to xfs_buf_ioend

Invalidating cache lines can be fairly expensive, so don't do it
in interrupt context.  Note that in practice very few setup will
actually do anything here as virtually indexed caches are rather
uncommon, but we might as well move the call to the proper place
while touching this area.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Acked-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_buf.c