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)
Sat, Apr 4, 11:10 PM
Unknown Object (File)
Thu, Apr 2, 6:05 PM
Unknown Object (File)
Mon, Mar 23, 5:57 AM
Unknown Object (File)
Sat, Mar 14, 3:40 PM
Unknown Object (File)
Fri, Mar 13, 10:51 PM
Unknown Object (File)
Mon, Mar 9, 9:03 PM
Unknown Object (File)
Sun, Mar 8, 4:40 PM
Unknown Object (File)
Mar 4 2026, 9:19 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 64943
Build 61826: arc lint + arc unit