You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge pull request #51 from sidkumar99/logging_fix
adaptivemm: increase log level in cmp_meminfo()
adaptivemm currently uses a log level 1 of in cmp_meminfo() so any verbosity setting >=1 will write to journalctl everytime fields in /proc/meminfo change by the trigger amount.
Mar 15 20:02:03 x01gistsdb61a adaptivemmd[2112]: MemAvailable decreased by more than 10 (previous = 10884373 K, current = 10639224 K)
Mar 15 20:02:03 x01gistsdb61a adaptivemmd[2112]: Cached grew by more than 10 (previous = 45109816 K, current = 47671760 K)
Mar 15 20:02:03 x01gistsdb61a adaptivemmd[2112]: SwapCached grew by more than 10 (previous = 0 K, current = 108 K)
Mar 15 20:02:03 x01gistsdb61a adaptivemmd[2112]: Unevicatble grew by more than 10 (previous = 566336 K, current = 566384 K)
Mar 15 20:02:03 x01gistsdb61a adaptivemmd[2112]: Mlocked grew by more than 10 (previous = 566336 K, current = 566384 K)
Mar 15 20:02:03 x01gistsdb61a adaptivemmd[2112]: AnonPages grew by more than 10 (previous = 32097372 K, current = 32107684 K)
Mar 15 20:02:03 x01gistsdb61a adaptivemmd[2112]: Mapped decreased by more than 10 (previous = 2813788 K, current = 2813040 K)
These messages may be confusing to customers, so increase the log level to 4 which is 1 level away from the MAX_VERBOSE value of 5.
Signed-off-by: Sidhartha Kumar <[email protected]>
Reviewed-by: Tom Hromatka <[email protected]>
0 commit comments