Re: More questions about 2.6 /proc/meminfo was: (Mem: and Swap:lines in /proc/meminfo)

From: Rik van Riel
Date: Sat Dec 13 2003 - 12:55:52 EST


On Fri, 12 Dec 2003, Mike Fedyk wrote:

> VmallocUsed is being reported in /proc/meminfo in 2.6 now.
>
> Is VmallocUsed contained within any of the other memory reported below?

No.

> How can I get VmallocUsed from userspace in earlier kernels (2.[024])?

You can't.

> And the same questions with PageTables too. :)

Same answers ;)

Maybe I should send marcelo a patch to export the PageTables
number in /proc somewhere ?

> Are Dirty: and Writeback: counted in Inactive: or are they seperate?

They're unrelated statistics to active/inactive and will
overlap with active/inactive.

> Does Mapped: include all files mmap()ed, or only the executable ones?

Mapped: includes all mmap()ed pages, regardless of executable
status.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan

-
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/