diff options
author | Christoph Hellwig <hch@lst.de> | 2006-12-06 20:32:30 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 08:39:22 -0800 |
commit | 8b98c1699eba23cfd2e8b366625c50ff5fd1415b (patch) | |
tree | 24462eaefeb4e2fa85e77d392a94a60316ad2349 /include/linux/device.h | |
parent | 881e4aabe4c6b3fce93674b67c6adc646fe2683b (diff) | |
download | lwn-8b98c1699eba23cfd2e8b366625c50ff5fd1415b.tar.gz lwn-8b98c1699eba23cfd2e8b366625c50ff5fd1415b.zip |
[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 <hch@lst.de>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/device.h')
0 files changed, 0 insertions, 0 deletions