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

Catalin Marinas
2006-05-15T10:12:21Z

On 14/05/06, Ingo Oeser <ioe-lkml@rameria.de> 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