* Pekka J Enberg <[email protected]> wrote: > > > - arch/i386/kernel/setup.c: > > > False positive because res pointer is stored in a global instance of > > > struct resource. > > > > there's no good way around this one but to annotate it in one way or > > another. > > Scanning bss and data sections is too expensive, I guess. I would > prefer we create a separate section for gc roots but what you're > suggesting is ok as well. kmemleak does scan global data sections. I dont know why we dont discover this particular pointer though: the resource pointer ought to be accessible via the iomem_resource.parent/sibling/child sorted list. Hm. Ingo - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: "Catalin Marinas" <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: "Catalin Marinas" <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- References:
- [PATCH 2.6.17-rc6 0/9] Kernel memory leak detector 0.7
- From: Catalin Marinas <[email protected]>
- [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: Catalin Marinas <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: "Pekka Enberg" <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: "Catalin Marinas" <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: Pekka J Enberg <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: Ingo Molnar <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: Pekka J Enberg <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: Ingo Molnar <[email protected]>
- Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- From: Pekka J Enberg <[email protected]>
- [PATCH 2.6.17-rc6 0/9] Kernel memory leak detector 0.7
- Prev by Date: PC card RS-232 freezes the computer
- Next by Date: Re: Merge of per task delay accounting (was Re: 2.6.18 -mm merge plans)
- Previous by thread: Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- Next by thread: Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives
- Index(es):