[PATCH] Add kmemleak annotations to lmb.c

Catalin Marinas catalin.marinas at arm.com
Fri Aug 14 01:40:41 EST 2009


On Thu, 2009-08-13 at 13:01 +1000, Michael Ellerman wrote:
> We don't actually want kmemleak to track the lmb allocations, so we
> pass min_count as 0. However telling kmemleak about lmb allocations
> allows it to scan that memory for pointers to other memory that is
> tracked by kmemleak, ie. slab allocations etc.

Looks alright to me (though I haven't tested it). You can add a
Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>

-- 
Catalin



More information about the Linuxppc-dev mailing list