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, Oct 5, 1:50 PM
Unknown Object (File)
Sat, Oct 4, 2:14 AM
Unknown Object (File)
Thu, Sep 18, 12:16 PM
Unknown Object (File)
Thu, Sep 18, 5:47 AM
Unknown Object (File)
Tue, Sep 16, 7:52 AM
Unknown Object (File)
Sun, Sep 14, 9:25 PM
Unknown Object (File)
Sun, Sep 14, 12:16 AM
Unknown Object (File)
Fri, Sep 12, 9:40 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