Re: [PATCH] Add kmemleak annotations to lmb.c

2009-08-19 Thread Michael Ellerman
On Fri, 2009-08-14 at 22:57 +0100, Catalin Marinas wrote: > On Fri, 2009-08-14 at 12:49 -0700, David Miller wrote: > > From: Benjamin Herrenschmidt > > Date: Fri, 14 Aug 2009 17:56:40 +1000 > > > > > On Thu, 2009-08-13 at 16:40 +0100, Catalin Marinas wrote: > > >> On Thu, 2009-08-13 at 13:01 +100

Re: [PATCH] Add kmemleak annotations to lmb.c

2009-08-14 Thread Catalin Marinas
On Fri, 2009-08-14 at 12:49 -0700, David Miller wrote: > From: Benjamin Herrenschmidt > Date: Fri, 14 Aug 2009 17:56:40 +1000 > > > On Thu, 2009-08-13 at 16:40 +0100, Catalin Marinas wrote: > >> On Thu, 2009-08-13 at 13:01 +1000, Michael Ellerman wrote: > >> > We don't actually want kmemleak to t

Re: [PATCH] Add kmemleak annotations to lmb.c

2009-08-14 Thread David Miller
From: Benjamin Herrenschmidt Date: Fri, 14 Aug 2009 17:56:40 +1000 > On Thu, 2009-08-13 at 16:40 +0100, Catalin Marinas wrote: >> 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 t

Re: [PATCH] Add kmemleak annotations to lmb.c

2009-08-14 Thread Catalin Marinas
On Fri, 2009-08-14 at 17:56 +1000, Benjamin Herrenschmidt wrote: > On Thu, 2009-08-13 at 16:40 +0100, Catalin Marinas wrote: > > 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 te

Re: [PATCH] Add kmemleak annotations to lmb.c

2009-08-14 Thread Benjamin Herrenschmidt
On Thu, 2009-08-13 at 16:40 +0100, Catalin Marinas wrote: > 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 fo

Re: [PATCH] Add kmemleak annotations to lmb.c

2009-08-13 Thread Catalin Marinas
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

[PATCH] Add kmemleak annotations to lmb.c

2009-08-12 Thread Michael Ellerman
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. Signed-off-by: Michael Ellerman --- lib/lmb.c

Re: [PATCH] Add kmemleak annotations to lmb.c

2009-08-12 Thread Michael Ellerman
On Mon, 2009-08-10 at 15:05 +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

[PATCH] Add kmemleak annotations to lmb.c

2009-08-09 Thread Michael Ellerman
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. Signed-off-by: Michael Ellerman --- lib/lmb.c