Re: [PATCH v5 1/3] dma-mapping: benchmark: modify the framework to adapt to more map modes

From: Barry Song

Date: Mon Dec 22 2025 - 22:12:48 EST


> To be compatible with other modes that in the future, 'prepare_data' may
> not be necessary. So, I add a judgment here.We can delete it in the
> current version and add it after this scenario occurs.

Right, feel free to drop it. I guess __GFP_ZERO for allocation is sufficient.