mm/kmemleak: Fix kmemleak hang problem
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2095633
MR: !1455 (merged)
This MR contains upstream kmemleak commits to optimize the kmemleak_scan() code to either insert the proper cond_resched() call or reduce its run time to avoid soft lockup.
Signed-off-by: Waiman Long longman@redhat.com
Edited by Waiman Long