summaryrefslogtreecommitdiffstats
path: root/kernel/audit.h
diff options
context:
space:
mode:
authorJoel Fernandes (Google) <joel@joelfernandes.org>2019-12-19 11:22:42 -0500
committerPaul E. McKenney <paulmck@kernel.org>2020-02-20 16:03:31 -0800
commit12af660321263d7744d5d06b765c7b03fade3858 (patch)
tree3088fbbb76bffa282851d4a39545363eee23473a /kernel/audit.h
parent5396d31d3a396039502f75a128bd8064819cba61 (diff)
downloadlinux-12af660321263d7744d5d06b765c7b03fade3858.tar.bz2
rcuperf: Measure memory footprint during kfree_rcu() test
During changes to kfree_rcu() code, we often check the amount of free memory. As an alternative to checking this manually, this commit adds a measurement in the test itself. It measures four times during the test for available memory, digitally filters these measurements to produce a running average with a weight of 0.5, and compares this digitally filtered value with the amount of available memory at the beginning of the test. Something like the following is printed at the end of the run: Total time taken by all kfree'ers: 6369738407 ns, loops: 10000, batches: 764, memory footprint: 216MB Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org> Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'kernel/audit.h')
0 files changed, 0 insertions, 0 deletions