Replace kmem_cache_reap_now() with kmem_cache_reap_soon()
To prevent kmem_cache reaping from blocking other system resources, turn kmem_cache_reap_now() (which blocks) into kmem_cache_reap_soon(). Callers to kmem_cache_reap_soon() should use kmem_cache_reap_active(), which exploits #9017's new taskq_empty().
Updated by Electric Monk almost 2 years ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 36a64e62848b51ac5a9a5216e894ec723cfef14e Author: Tim Kordas <email@example.com> Date: 2018-02-05T18:17:49.000Z 9018 Replace kmem_cache_reap_now() with kmem_cache_reap_soon() Reviewed by: Bryan Cantrill <firstname.lastname@example.org> Reviewed by: Dan McDonald <email@example.com> Reviewed by: Matthew Ahrens <firstname.lastname@example.org> Reviewed by: Yuri Pankov <email@example.com>