Re: [PATCH] iommupt/kunit: Read an exact NR_SECONDARY_PAGETABLE snapshot for the leak check

From: Jason Gunthorpe

Date: Wed Oct 28 2026 - 09:01:13 EST


On Mon, Oct 19, 2026 at 11:24:55AM +0800, fangyu.yu@xxxxxxxxxxxxxxxxx wrote:

> The run fails consistently. In the example above, 14 of 21 tests
> failed. With the proposed fix, the same command passes with 18
> passed and 3 skipped.
>
> 3) Could you clarify what you meant by "disabling the check on !SMP"?

Just

if (!IS_ENABLED(CONFIG_SMP))

With a comment explaining it

Jason