Skip to content
Commit af98603d authored by Catalin Marinas's avatar Catalin Marinas
Browse files

kmemleak: Allow rescheduling during an object scanning



If the object size is bigger than a predefined value (4K in this case),
release the object lock during scanning and call cond_resched().
Re-acquire the lock after rescheduling and test whether the object is
still valid.

Signed-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent 1e23502c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment