]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: replace kmem_alloc_large() with kvmalloc()
authorDave Chinner <dchinner@redhat.com>
Mon, 9 Aug 2021 17:10:01 +0000 (10:10 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Mon, 9 Aug 2021 22:57:43 +0000 (15:57 -0700)
commit7046e18af16981db9763e99c4f7e8076557f18c8
treed021e49bd4c9b5dfc9fb1ef859c73a38c8bfb640
parent23945d8658ae80d468af604b13bbbb90040696bc
xfs: replace kmem_alloc_large() with kvmalloc()

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>
fs/xfs/kmem.c
fs/xfs/kmem.h
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/scrub/attr.c
fs/xfs/scrub/attr.h
fs/xfs/xfs_log.c
fs/xfs/xfs_log_cil.c
fs/xfs/xfs_log_recover.c
fs/xfs/xfs_trace.h