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

@@ -2387,11 +2387,11 @@
 
         /*
          * Don't sleep for the allocation, and don't make the system
          * reclaim memory.  Trade higher I/Os if in a low-memory situation.
          */
-        big_buf = kmem_alloc(big_buf_size, KM_NOSLEEP | KM_NORMALPRI);
+        big_buf = kmem_alloc(big_buf_size, KM_NOSLEEP_LAZY);
 
         if (big_buf == NULL) {
                 /*
                  * Just send it in terms of of the transmitted data.  This
                  * will be very slow.