tracing: Switch to kvfree_rcu() API

Instead of invoking a synchronize_rcu() to free a pointer
after a grace period we can directly make use of new API
that does the same but in more efficient way.

Link: https://lkml.kernel.org/r/20211124110308.2053-10-urezki@gmail.com

Signed-off-by: Uladzislau Rezki (Sony) <urezki@gmail.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
This commit is contained in:
Uladzislau Rezki (Sony) 2021-11-24 12:03:08 +01:00 • committed by Steven Rostedt (VMware)
commit a6ed2aee54
2 changed files with 2 additions and 4 deletions