Re: [PATCH 2.6.17-rc4 6/6] Remove some of the kmemleak false positives

From: Catalin Marinas
Date: Mon May 15 2006 - 06:11:52 EST


On 14/05/06, Ingo Oeser <ioe-lkml@xxxxxxxxxx> wrote:
While we are at it: How do you handle the encoding of
info into the lower bits of a pointer? For Boehm GC,
this was a major problem, AFAIR. At least the RT-Mutex code
does this. There are others, but I'm to lazy to grep now...

I haven't looked at RT-Mutex but are more than the 2 bottom bits used
for this? If not, they can be masked out before look-up. The slab
allocator seems to always return blocks aligned to word size.

Thanks for pointing out.

--
Catalin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/