lkml.org 
[lkml]   [2008]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 03/15] kmemleak: Add the slab memory allocation/freeing hooks
On Thu, 18 Dec 2008, Pekka Enberg wrote:

> For kmemleak, that's a problem. Unless we explicitly annotate the
> caches, it will scan them and think that there's a pointer to a leaked
> object (i.e. false negative). Catalin already took care of the per-CPU
> caches but AFAICT we still need to take care of the per-node caches
> and the shared caches.

Why doesnt kmemleak simply use the counter as a boundary and only access
those pointers that are valid?



\
 
 \ /
  Last update: 2008-12-18 22:45    [W:1.018 / U:1.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site