]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mm: vmalloc improve vmallocinfo
authorGlauber Costa <glommer@redhat.com>
Tue, 6 Jan 2009 22:39:19 +0000 (14:39 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:01 +0000 (15:59 -0800)
commit848778483351e90f9a2c587bdbe0c78b17c1e30b
tree9248871a3e40b68a709bf69efeaf5c52cb45cbd1
parentc1279c4ef37a06ba708e6b1f6fd98b45c52770f6
mm: vmalloc improve vmallocinfo

If we do that, output of files like /proc/vmallocinfo will show things
like "vmalloc_32", "vmalloc_user", or whomever the caller was as the
caller.  This info is not as useful as the real caller of the allocation.

So, proposal is to call __vmalloc_node node directly, with matching
parameters to save the caller information

Signed-off-by: Glauber Costa <glommer@redhat.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmalloc.c