From: Christoph Hellwig Date: Thu, 7 Dec 2006 04:32:30 +0000 (-0800) Subject: [PATCH] leak tracking for kmalloc_node X-Git-Tag: v2.6.20-rc1~145^2^2~332 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b98c1699eba23cfd2e8b366625c50ff5fd1415b;p=pandora-kernel.git [PATCH] leak tracking for kmalloc_node We have variants of kmalloc and kmem_cache_alloc that leave leak tracking to the caller. This is used for subsystem-specific allocators like skb_alloc. To make skb_alloc node-aware we need similar routines for the node-aware slab allocator, which this patch adds. Note that the code is rather ugly, but it mirrors the non-node-aware code 1:1: [akpm@osdl.org: add module export] Signed-off-by: Christoph Hellwig Cc: Al Viro Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed