[PATCH 5.15 44/66] dm stats: add cond_resched when looping over entries