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

@@ -10764,11 +10764,11 @@
         if ((set.aiems_leds & AHCI_EM_LED_ACTIVITY_DISABLE) != 0 &&
             ((ahci_ctlp->ahcictl_em_ctl & AHCI_HBA_EM_CTL_ATTR_ALHD) != 0)) {
                 return (ENOTSUP);
         }
 
-        task = kmem_alloc(sizeof (*task), KM_NOSLEEP | KM_NORMALPRI);
+        task = kmem_alloc(sizeof (*task), KM_NOSLEEP_LAZY);
         if (task == NULL) {
                 return (ENOMEM);
         }
 
         task->aelta_ctl = ahci_ctlp;