Re: [PATCH v3 0/2] iommu/iova: Make the rcache depot properly flexible

From: Ido Schimmel
Date: Thu Jan 11 2024 - 03:22:49 EST


On Wed, Jan 10, 2024 at 05:58:15PM +0000, Catalin Marinas wrote:
> Transient false positives are possible, especially as the code doesn't
> use a double-linked list (for the latter, kmemleak does checksumming and
> detects the prev/next change, defers the reporting until the object
> becomes stable). That said, if a new scan is forced (echo scan >
> /sys/kernel/debug/kmemleak), are the same objects still listed as leaks?
> If yes, they may not be transient.

We are doing "scan" and "clear" after each test. I will disable the
"clear" and see if the leaks persist.