]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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>
Fri, 10 Feb 2023 23:36:05 +0000 (15:36 -0800)
commitd5648b987e63284c28ffcb4e3b22dc37f48900bc
tree0e0bc075d7a3a45b6bc566dd6f441af40b4841ea
parentaf07ef8fe363adb9c870c5b5146b59507d808355
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