Re: Kmemleak infrastructure improvement for task_struct leaks and call_rcu()

From: Qian Cai
Date: Thu May 07 2020 - 13:29:10 EST




> On May 7, 2020, at 1:16 PM, Catalin Marinas <catalin.marinas@xxxxxxx> wrote:
>
> I don't mind adding additional tracking info if it helps with debugging.
> But if it's for improving false positives, I'd prefer to look deeper
> into figure out why the pointer reference graph tracking failed.

No, the task struct leaks are real leaks. It is just painful to figure out the missing or misplaced put_task_struct() from the kmemleak reports at the moment.