title: Overhead of VMA's on Linux
body: <p>The question:
  How can I tell how much memory is in use by the VMA's of my process (either when I'm in userspace or in kernel) ?</p>
  
  <p>I'll give a short explanation on what I'm doing, So you could understand why I'm asking this.
  I run on my Linux machine a few processes and one driver (kernel module). The processes memory is locked (not swappable), Therefore I want to make sure that the memory consume by the module along with the processes isn't acceding 90% of my total physical memory. In order to reduce malloc overhead I'm using mmap.
  what I really need to know is how much memory my processes are really consuming rather than how much they asked for, and as much as I can tell I'm only missing the VMA's overhead of any allocation.</p>