]> git.baikalelectronics.ru Git - kernel.git/commit
xfs: use alloc_pages_bulk_array() for buffers
authorDave Chinner <dchinner@redhat.com>
Tue, 1 Jun 2021 03:40:36 +0000 (13:40 +1000)
committerDave Chinner <david@fromorbit.com>
Tue, 1 Jun 2021 03:40:36 +0000 (13:40 +1000)
commitbd6f5ecb904f1d2ad1f513cd21d93070be09e448
treebca957be64a66fca4339988c6565b39b72279225
parentbe5d21c6683dda4e355e461898d68a3b4b880ffc
xfs: use alloc_pages_bulk_array() for buffers

Because it's more efficient than allocating pages one at a time in a
loop.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
fs/xfs/xfs_buf.c