mm/kmemleak: Reduce tracking overhead of percpu memory
JIRA: https://issues.redhat.com/browse/RHEL-8656
MR: !4248 (merged)
The main goal of this MR is to backport commit 39042079a0c2 ("kmemleak: avoid RCU stalls when freeing metadata for per-CPU pointers") which will greatly reduce the tracking overhead of percpu memory especially on systems with large number of CPUs. Because of the relatively extensive changes made by this commit, I need to pull in all the other recent kmemleak commits before it.
Signed-off-by: Waiman Long longman@redhat.com
Edited by Waiman Long