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
        
@@ -665,11 +665,11 @@
          *
          * Rather than sleep for this relatively large allocation,
          * allow the allocation to fail and return an error.
          * The client should then fall back to normal copy.
          */
-        buffer = kmem_alloc(bufsize, KM_NOSLEEP | KM_NORMALPRI);
+        buffer = kmem_alloc(bufsize, KM_NOSLEEP_LAZY);
         if (buffer == NULL) {
                 status = NT_STATUS_INSUFF_SERVER_RESOURCES;
                 goto out;
         }