Re: Where might memory be reported?

From: Dewayne Geraghty <dewayne_at_heuristicsystems.com.au>
Date: Tue, 8 Jun 2021 15:58:37 +1000
This issue was raised in April '21 by Andriy Gapon title "stable/13, vm
page counts do not add up".

This was mentioned
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253281
though its probably more of an affirmation of a symptom. (reminder to
adjust status)

More relevant is
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234559
where Mark Johnson advised (in Feb '19)
"I've thought about this some more and decided to close this bug WONTFIX
for now.  Basically, we started lazily dequeuing wired pages to avoid
the page queue synchronization cost incurred by frequent wirings.  The
result is that wired pages may temporarily be counted as
active/inactive/laundry despite not being reclaimable.  Maintaining the
previous behaviour wrt statistics would introduce synchronization
overhead that we've been trying to avoid in past and future work.  I
don't plan to change the current behaviour and there doesn't seem to be
a compelling reason to do so, at least based on this report.  If you or
anyone else would like to discuss this further or describe a use-case
that depends on the old behaviour, please feel free to re-open the bug."

I hope I've shed some light on the current situation, unfortunately not
in its resolution.
Regards, Dewayne.
Received on Tue Jun 08 2021 - 05:58:37 UTC

Original text of this message