Print this page
5513 KM_NORMALPRI should be documented in kmem_alloc(9f) and kmem_cache_create(9f) man pages
14465 Present KM_NOSLEEP_LAZY as documented interface
Change-Id: I002ec28ddf390650f1fcba1ca94f6abfdb241439
        
*** 44,55 ****
  
  static void *
  shstrtab_alloc(void)
  {
  #ifdef  _KERNEL
!         return (kmem_zalloc(sizeof (shstrtab_ent_t),
!             KM_NOSLEEP | KM_NORMALPRI));
  #else
          return (calloc(1, sizeof (shstrtab_ent_t)));
  #endif
  }
  
--- 44,54 ----
  
  static void *
  shstrtab_alloc(void)
  {
  #ifdef  _KERNEL
!         return (kmem_zalloc(sizeof (shstrtab_ent_t), KM_NOSLEEP_LAZY));
  #else
          return (calloc(1, sizeof (shstrtab_ent_t)));
  #endif
  }