Project

General

Profile

Actions

Feature #9017

closed

Introduce taskq_empty()

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

Querying if a taskq is empty may be useful in resource-throttling. This case tracks this feature:

boolean_t taskq_empty(taskq_t ); / Returns B_TRUE if empty. */


Related issues

Related to illumos gate - Bug #9018: Replace kmem_cache_reap_now() with kmem_cache_reap_soon()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 4c99ecc308d297ccc23eec0665e892052c57bf49

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

    9017 Introduce taskq_empty()
    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

  • Related to Bug #9018: Replace kmem_cache_reap_now() with kmem_cache_reap_soon() added
Actions

Also available in: Atom PDF