xfs: don't allow highmem pages in xfile mappings
authorChristoph Hellwig <hch@lst.de>
Mon, 19 Feb 2024 06:27:23 +0000 (07:27 +0100)
committerChandan Babu R <chandanbabu@kernel.org>
Wed, 21 Feb 2024 06:06:53 +0000 (11:36 +0530)
commite62e26acc9ab85e996eff660318109470eae2607
tree860b18b64f284fa5fe4b4d192bcbc2e50ddb27fc
parent0e2a24afb99258acc147f7fbe6c1e178a951247d
xfs: don't allow highmem pages in xfile mappings

XFS is generally used on 64-bit, non-highmem platforms and xfile
mappings are accessed all the time.  Reduce our pain by not allowing
any highmem mappings in the xfile page cache and remove all the kmap
calls for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: "Darrick J. Wong" <djwong@kernel.org>
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org>
fs/xfs/scrub/xfarray.c
fs/xfs/scrub/xfile.c