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 over 1 year ago
- % Done changed from 0 to 100
- Status changed from New to Closed
commit 36a64e62848b51ac5a9a5216e894ec723cfef14e Author: Tim Kordas <firstname.lastname@example.org> Date: 2018-02-05T18:17:49.000Z 9018 Replace kmem_cache_reap_now() with kmem_cache_reap_soon() Reviewed by: Bryan Cantrill <email@example.com> Reviewed by: Dan McDonald <firstname.lastname@example.org> Reviewed by: Matthew Ahrens <email@example.com> Reviewed by: Yuri Pankov <firstname.lastname@example.org>