Project

General

Profile

Actions

Bug #9018

closed

Replace kmem_cache_reap_now() with kmem_cache_reap_soon()

Added by Dan McDonald over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
kernel
Start date:
2018-02-02
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

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().


Related issues

Related to illumos gate - Feature #9017: Introduce taskq_empty()ClosedDan McDonald2018-02-02

Actions
Actions #1

Updated by Electric Monk over 4 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

git commit 36a64e62848b51ac5a9a5216e894ec723cfef14e

commit  36a64e62848b51ac5a9a5216e894ec723cfef14e
Author: Tim Kordas <tim.kordas@joyent.com>
Date:   2018-02-05T18:17:49.000Z

    9018 Replace kmem_cache_reap_now() with kmem_cache_reap_soon()
    Reviewed by: Bryan Cantrill <bryan@joyent.com>
    Reviewed by: Dan McDonald <danmcd@joyent.com>
    Reviewed by: Matthew Ahrens <mahrens@delphix.com>
    Reviewed by: Yuri Pankov <yuripv@yuripv.net>

Actions #2

Updated by Marcel Telka over 1 year ago

Actions

Also available in: Atom PDF