Print this page
OS-6363 system went to dark side of moon for ~467 seconds OS-6404 ARC reclaim should throttle its calls to arc_kmem_reap_now() Reviewed by: Bryan Cantrill <bryan@joyent.com> Reviewed by: Dan McDonald <danmcd@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/taskq.h
          +++ new/usr/src/uts/common/sys/taskq.h
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   *
  25   25   * Copyright 2013 Nexenta Systems, Inc.  All rights reserved.
       26 + * Copyright (c) 2017, Joyent, Inc.
  26   27   */
  27   28  
  28   29  #ifndef _SYS_TASKQ_H
  29   30  #define _SYS_TASKQ_H
  30   31  
  31   32  #include <sys/types.h>
  32   33  #include <sys/thread.h>
  33   34  
  34   35  #ifdef  __cplusplus
  35   36  extern "C" {
↓ open down ↓ 37 lines elided ↑ open up ↑
  73   74  extern taskq_t  *taskq_create_instance(const char *, int, int, pri_t, int,
  74   75      int, uint_t);
  75   76  extern taskq_t  *taskq_create_proc(const char *, int, pri_t, int, int,
  76   77      struct proc *, uint_t);
  77   78  extern taskq_t  *taskq_create_sysdc(const char *, int, int, int,
  78   79      struct proc *, uint_t, uint_t);
  79   80  extern taskqid_t taskq_dispatch(taskq_t *, task_func_t, void *, uint_t);
  80   81  extern void     nulltask(void *);
  81   82  extern void     taskq_destroy(taskq_t *);
  82   83  extern void     taskq_wait(taskq_t *);
       84 +extern boolean_t taskq_empty(taskq_t *);
  83   85  extern void     taskq_suspend(taskq_t *);
  84   86  extern int      taskq_suspended(taskq_t *);
  85   87  extern void     taskq_resume(taskq_t *);
  86   88  extern int      taskq_member(taskq_t *, kthread_t *);
  87   89  
  88   90  #endif  /* _KERNEL */
  89   91  
  90   92  #ifdef  __cplusplus
  91   93  }
  92   94  #endif
  93   95  
  94   96  #endif  /* _SYS_TASKQ_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX