Page MenuHomeFreeBSD

Reset kvo_laundry to prevent it being cumulative
ClosedPublic

Authored by allanjude on Jun 17 2025, 1:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 12, 12:28 AM
Unknown Object (File)
Tue, Jun 30, 6:18 AM
Unknown Object (File)
Sun, Jun 28, 7:54 AM
Unknown Object (File)
Sun, Jun 21, 6:28 PM
Unknown Object (File)
Jun 13 2026, 1:13 AM
Unknown Object (File)
Jun 13 2026, 1:13 AM
Unknown Object (File)
Jun 13 2026, 12:09 AM
Unknown Object (File)
Jun 13 2026, 12:08 AM
Subscribers

Details

Summary

sysctl vm.objects, used by vmstat -o was not resetting the
laundry counter to 0 inside the loop, causing it to show the sum of
the laundry count for all previous objects instead of only the laundry
count for the current object.

Fixes: a86373bc93ee1c850943e8585d0d426479378145
Sponsored by: Klara, Inc.
Sponsored by: Modirum MDPay

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable