Re: nvidia and rmap (again)
From: Manfred Spraul
Date: Thu Jul 22 2004 - 16:01:30 EST
John wrote:
I don't quite know how to divine the right info out of slabinfo;
I've attached it below.
If you search for a leak then you'd have to check the first number in
each row: the number of active objects. Just look at the first row: it
documents the fields in the following rows.
If a number is huge and constantly increasing, then there is would be a
leak. Typically the inode, dentry and buffer_head caches are large, the
rest are small.
But: slab manages only small objects. I assume that nvidia allocates
pages with alloc_pages() and then plays with the page flags. This is the
layer below slab, you must look at /proc/meminfo to detect leaks.
--
Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/