Subject: vm size wrongly reported
To: current-users@netbsd.org <current-users@netbsd.org>
From: Lars Heidieker <lars@heidieker.de>
List: current-users
Date: 05/03/2003 15:12:44
The vmsize in top and ps is calculated from these fields
        segsz_t vm_tsize;       /* text size (pages) XXX */
        segsz_t vm_dsize;       /* data size (pages) XXX */
        segsz_t vm_ssize;       /* stack size (pages) */
in struct vmspace wouldn't it be correct to report the size field from
vm_map.
Ok the vmsize would be quite big sometimes because of th stack space
reservation.
And anyway whats up with merging the struct vmspace with struct vm_map?

Lars

--
Mystische Erklärungen.
Die mystischen Erklärungen gelten für tief;
die Wahrheit ist, daß sie noch nicht einmal oberflächlich sind.
                --Friedrich Nietzsche