[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0812181334590.17255@quilx.com>
Date: Thu, 18 Dec 2008 13:35:50 -0600 (CST)
From: Christoph Lameter <cl@...ux-foundation.org>
To: Catalin Marinas <catalin.marinas@....com>
cc: Pekka Enberg <penberg@...helsinki.fi>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 03/15] kmemleak: Add the slab memory allocation/freeing
hooks
On Thu, 18 Dec 2008, Catalin Marinas wrote:
> OK, but is there a chance that an stale pointer remains in such caches?
Definitely. The pointers are never cleared. There are counters in the
caches that are used to index into an array.
> There seems to be the transfer_objects() function that moves pointers
> around but doesn't clear the source values.
No need to. The counter updates take care of things.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists