summaryrefslogtreecommitdiff
path: root/usr/src/common
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2022-01-31 19:54:55 -0500
committerDan McDonald <danmcd@joyent.com>2022-02-22 10:44:37 -0500
commitca783257c986cddcc674ae22916a6766b98a2d36 (patch)
treea5ffb2e5714efce67635883089a2b60ec9a7bd2a /usr/src/common
parent36589d6bb0cdae89e166b57b0d64ae56d53247d9 (diff)
downloadillumos-joyent-ca783257c986cddcc674ae22916a6766b98a2d36.tar.gz
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 Reviewed by: Andy Fiddaman <andy@omnios.org> Approved by: Robert Mustacchi <rm@fingolfin.org>
Diffstat (limited to 'usr/src/common')
-rw-r--r--usr/src/common/core/core_shstrtab.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr/src/common/core/core_shstrtab.c b/usr/src/common/core/core_shstrtab.c
index b1bcbce682..ea2d15db40 100644
--- a/usr/src/common/core/core_shstrtab.c
+++ b/usr/src/common/core/core_shstrtab.c
@@ -46,8 +46,7 @@ static void *
shstrtab_alloc(void)
{
#ifdef _KERNEL
- return (kmem_zalloc(sizeof (shstrtab_ent_t),
- KM_NOSLEEP | KM_NORMALPRI));
+ return (kmem_zalloc(sizeof (shstrtab_ent_t), KM_NOSLEEP_LAZY));
#else
return (calloc(1, sizeof (shstrtab_ent_t)));
#endif