lib/test_vmalloc.c: Add test cases for kvfree_rcu()
authorUladzislau Rezki (Sony) <urezki@gmail.com>
Mon, 25 May 2020 21:48:00 +0000 (23:48 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 18:59:26 +0000 (11:59 -0700)
commitda4fc00abb97ce1269b0940abe86e25456e28424
tree3db95bbc24c9a522cb0270e0a03b4ba09f4ab5a1
parent1835f475e3518ade61e25a57572c78b953778656
lib/test_vmalloc.c: Add test cases for kvfree_rcu()

Introduce four new test cases for testing the kvfree_rcu()
interface. Two of them belong to single argument functionality
and another two for 2-argument functionality.

The aim is to stress and check how kvfree_rcu() behaves under
different load and memory conditions and analyze its performance
throughput.

Reviewed-by: Joel Fernandes (Google) <joel@joelfernandes.org>
Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
lib/test_vmalloc.c