Recent src changes have introduced another memory accounting variable that ksysguard needs to be aware of. As fas as I understand it, "laundry" is essentially a subset of "inactive" that is now reported separately. So, handle it in ksysguardd by adding "laundry" where "inactive" is reported to ksysguard.
Details
Details
- Reviewers
tcberner adridg - Group Reviewers
kde - Commits
- rP445865: Account for "laundry" memory as part of "inactive" memory
used on 11-stable for several weeks
Diff Detail
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
On second thought --
- don't you need to check whether the sysctl exists? -- or has it trickled down to all the versions?
- don't forget to bump portrevision
Comment Actions
No need to check; if it doesn't exist (it'll be in 11.1, not sure if 10 gets it) sysctlbyname will return -1, set errno to ENOENT, and leave the output variable unchanged (remains zero).
- don't forget to bump portrevision
of course :)
Comment Actions
LGTM, from 10.3 -- it builds, it runs, it doesn't show anything immediately silly. That is, if the means to test is "start ksysguard, then look at the *system load* tab".