HomeFreeBSD

linprocfs: Fix some inaccuracies in meminfo.

Description

linprocfs: Fix some inaccuracies in meminfo.

  • Fill out MemFree correctly. Delete an ancient comment suggesting that we don't want to advertise the true quantity of free memory.
  • Populate the Buffers field by reading vfs.bufspace.
  • The page cache consists of all pages in page queues, not just the inactive queue.

PR: 248463
Reported and tested by: danfe
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Aug 12 2020, 4:08 PM
Parents
rGcad2917baf6e: Fix stand/newvers.sh with zsh in sh mode
Branches
Unknown
Tags
Unknown

Event Timeline