[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b0943d9e0610130459w22e6b9a1g57ee67a2c2b97f81@mail.gmail.com>
Date: Fri, 13 Oct 2006 12:59:59 +0100
From: "Catalin Marinas" <catalin.marinas@...il.com>
To: "Pekka Enberg" <penberg@...helsinki.fi>
Cc: "nmeyers@...tmark.com" <nmeyers@...tmark.com>,
linux-kernel@...r.kernel.org
Subject: Re: Major slab mem leak with 2.6.17 / GCC 4.1.1
On 13/10/06, Pekka Enberg <penberg@...helsinki.fi> wrote:
> On 10/13/06, nmeyers@...tmark.com <nmeyers@...tmark.com> wrote:
> > If anyone has a version of kmemleak that I can build with 4.1.1, or
> > any other suggestions for instrumentation, I'd be happy to gather more
> > data - the problem is very easy for me to reproduce.
>
> You should cc Catalin for that. Alternatively, you could try
> CONFIG_DEBUG_SLAB_LEAK.
Thanks for cc'ing me (I'm still on holiday and not following the
mailing list). The problem is the __builtin_constant_p gcc function
which doesn't work properly with 4.x versions. It was fixed in latest
gcc versions though. Kmemleak relies on __builtin_constant_p to
determine the pointer aliases and without it you would get plenty of
false positives.
--
Catalin
-
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