Re: [PATCH v1 10/10] iommu/vt-d: Some cleanups in iommu.c

From: Lu Baolu
Date: Tue Feb 08 2022 - 00:33:13 EST


On 2/7/22 3:15 PM, Christoph Hellwig wrote:
On Mon, Feb 07, 2022 at 02:41:42PM +0800, Lu Baolu wrote:
Move macros and inline helpers to the
header file.

Why? This just means they get pulled into other source files and
create overhead.

I supposed that they could also be used elsewhere. But no use cases so
better to keep them and avoid overhead. Thanks!

Best regards,
baolu