[PATCH 4.9 026/175] mm/kmemleak.c: make cond_resched() rate-limiting more efficient