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
*** 179,189 ****
* iterate through them calling the ddi_ufm_op_fill_image entry point
* so that the driver can fill them in.
*/
ufmh->ufmh_images =
kmem_zalloc((sizeof (ddi_ufm_image_t) * ufmh->ufmh_nimages),
! KM_NOSLEEP | KM_NORMALPRI);
if (ufmh->ufmh_images == NULL)
return (ENOMEM);
for (uint_t i = 0; i < ufmh->ufmh_nimages; i++) {
struct ddi_ufm_image *img = &ufmh->ufmh_images[i];
--- 179,189 ----
* iterate through them calling the ddi_ufm_op_fill_image entry point
* so that the driver can fill them in.
*/
ufmh->ufmh_images =
kmem_zalloc((sizeof (ddi_ufm_image_t) * ufmh->ufmh_nimages),
! KM_NOSLEEP_LAZY);
if (ufmh->ufmh_images == NULL)
return (ENOMEM);
for (uint_t i = 0; i < ufmh->ufmh_nimages; i++) {
struct ddi_ufm_image *img = &ufmh->ufmh_images[i];
*** 199,209 ****
goto cache_fail;
}
img->ufmi_slots =
kmem_zalloc((sizeof (ddi_ufm_slot_t) * img->ufmi_nslots),
! KM_NOSLEEP | KM_NORMALPRI);
if (img->ufmi_slots == NULL) {
ret = ENOMEM;
goto cache_fail;
}
--- 199,209 ----
goto cache_fail;
}
img->ufmi_slots =
kmem_zalloc((sizeof (ddi_ufm_slot_t) * img->ufmi_nslots),
! KM_NOSLEEP_LAZY);
if (img->ufmi_slots == NULL) {
ret = ENOMEM;
goto cache_fail;
}