Messages in this thread | | | Subject | Re: [2.6.32-rc3 kmemleak] WARNING: at kernel/lockdep.c:3161check_flags+0xbe/0x180() | From | Catalin Marinas <> | Date | Thu, 08 Oct 2009 13:42:18 +0100 |
| |
On Thu, 2009-10-08 at 21:34 +0900, Tetsuo Handa wrote: > If the stack dump is correct, this error indicates circular function calls. > We need to find the location which triggers circular memory allocation. > Maybe just checking for NULL is not sufficient.
The circular function call is expected, nothing to do with the NULL checking. You get callbacks from the slab allocator into kmemleak which also allocates memory (but this latter call isn't traced - similar behaviour in kmemtrace).
-- Catalin
| |