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)
Thu, Oct 1, 8:40 PM
Unknown Object (File)
Wed, Sep 16, 8:15 PM
Unknown Object (File)
Mon, Sep 14, 7:15 AM
Unknown Object (File)
Sep 8 2026, 8:52 PM
Unknown Object (File)
Sep 8 2026, 8:52 PM
Unknown Object (File)
Sep 8 2026, 8:45 PM
Unknown Object (File)
Sep 8 2026, 1:10 PM
Unknown Object (File)
Sep 6 2026, 2:45 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