[PATCH 4.14 019/217] mm/kmemleak.c: make cond_resched() rate-limiting more efficient