[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RE: Physical memory size allocated for each process!
On Thu, Nov 13, 2003 at 04:40:23PM -0400, Allan.Bezerra@indt.org.br wrote:
|For all I know mm_struct has a list of vm_areas that means regions of virtual memory (not physical memory). Each region can be a stack, text(code), data and so on.
|
|mm_struct doesn't show directly the the size of stack, text(code), data in physical memory. How can I get it?
IMHO you need to walk through page table...
out of curiosity: why do you need it?
--
Daniele.
"I could have made money this way, and perhaps amused myself writing code.
But I knew that at the end of my career, I would look back on years of
building walls to divide people, and feel I had spent my life making the
world a worse place."
Richard Stallman
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/