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
F170629571: D50907.diff
Sat, Sep 5, 5:30 PM
Unknown Object (File)
Fri, Sep 4, 10:04 AM
Unknown Object (File)
Thu, Sep 3, 5:46 PM
Unknown Object (File)
Thu, Sep 3, 3:12 PM
Unknown Object (File)
Wed, Sep 2, 10:41 AM
Unknown Object (File)
Wed, Sep 2, 9:13 AM
Unknown Object (File)
Tue, Sep 1, 10:51 PM
Unknown Object (File)
Tue, Sep 1, 9:47 PM
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