]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: replace kmem_alloc_large() with kvmalloc()
authorDave Chinner <dchinner@redhat.com>
Mon, 31 Jan 2022 20:25:47 +0000 (15:25 -0500)
committerEric Sandeen <sandeen@redhat.com>
Mon, 31 Jan 2022 20:25:47 +0000 (15:25 -0500)
commit5cb09fa6457e7ff92e9307e5f9b0c5a09e399609
tree7d59896df81e3d80f326937c5ed2b8c54d9109b2
parent128b8b99dfc6a19a0729d4055508d9fb7da7a287
xfs: replace kmem_alloc_large() with kvmalloc()

Source kernel commit: d634525db63e9e946c3229fb93c8d9b763afbaf3

There is no reason for this wrapper existing anymore. All the places
that use KM_NOFS allocation are within transaction contexts and
hence covered by memalloc_nofs_save/restore contexts. Hence we don't
need any special handling of vmalloc for large IOs anymore and
so special casing this code isn't necessary.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
include/kmem.h
libxfs/kmem.c
libxfs/xfs_attr_leaf.c