dmapool: consolidate page initialization
authorKeith Busch <kbusch@kernel.org>
Thu, 26 Jan 2023 21:51:21 +0000 (13:51 -0800)
committerAndrew Morton <akpm@linux-foundation.org>
Thu, 6 Apr 2023 02:42:40 +0000 (19:42 -0700)
commit2591b516533ba2564f086bd88f1f5e97084e4b1c
tree914ff9f2e5d25a50e24a04502ead7aeebf40c723
parent36d1a28921a4012288e17ef5ac98329ce440d410
dmapool: consolidate page initialization

Various fields of the dma pool are set in different places. Move it all
to one function.

Link: https://lkml.kernel.org/r/20230126215125.4069751-9-kbusch@meta.com
Signed-off-by: Keith Busch <kbusch@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Tony Battersby <tonyb@cybernetics.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/dmapool.c