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
        
@@ -91,11 +91,11 @@
          * swap, because folks might think that this is putting all the data
          * into memory ala tmpfs. Rather these modules are always in memory and
          * there's nothing to be done about that.
          */
         vfs_setresource(vfsp, bootfs_name, 0);
-        bfs = kmem_zalloc(sizeof (bootfs_t), KM_NOSLEEP | KM_NORMALPRI);
+        bfs = kmem_zalloc(sizeof (bootfs_t), KM_NOSLEEP_LAZY);
         if (bfs == NULL)
                 return (ENOMEM);
 
         ret = pn_get(uap->dir,
             (uap->flags & MS_SYSSPACE) ? UIO_SYSSPACE : UIO_USERSPACE, &dpn);