<<On Sat, 6 Jan 2024 13:02:26 +0100, "Patrick M. Hausen" <hau...@punkt.de> said:
>> [I wrote:] >> This is computed by the function vmtotal() in sys/vm/vm_meter.c. It >> walks all VM objects in the system, skipping those that are >> unreferenced, and adds up all of their sizes. >> [...] > Why does FreeBSD calculate the values this way while MWL's book clearly > states differently? Who's wrong here? I cannot speak for Michael Lucas. FreeBSD has ~always calculated VM statistics in this way; the same algorithm was in 4.4BSD, thirty years ago. -GAWollman