Change working set calculation to usage - total_inactive_file, rather than usage - total_inactive_anon - total_inactive_file. Since writes to tmpfs get tracked as total_inactive_anon when swap is disabled, the old calculation would under-report memory pressure. See this Kubernetes issue for context: https://github.com/kubernetes/kubernetes/issues/28619 |
||
---|---|---|
.. | ||
testdata | ||
helpers_test.go | ||
helpers.go |