lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed,  5 Jun 2024 20:37:10 +0800
From: David Wang <00107082@....com>
To: kent.overstreet@...ux.dev,
	surenb@...gle.com,
	keescook@...omium.org
Cc: linux-kernel@...r.kernel.org
Subject: [BUG?] memory allocation profiling: the counters are not non-decreasing.

Hi,
I was playing with this new feature of memory allocation profiling, when I plot the data, grouped by caller's source dir, 
I noticed that the counters are not non-decreasing.
If I understand this feature correctly, all counters should be non-decreasing, right?
Or is there some TTL for stale items?

Following is a simpler script demonstrating my sayings

	$ for i in {1..100}; do sudo cat /proc/allocinfo | grep " mm\/" | awk '{s+=$2}END{print s}'; sleep 10; done
	1194453
	1196935
	1198957
	1199716
	1200770
	1190795  <--- decrease here
	1192702
	1193070
	1193812
	1195069
	1196491
	...

FYI
David


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ