From 84e86b0dceb2f296edb24668e97a2aaf9212be20 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 17 Oct 2004 11:23:16 +0000 Subject: [PATCH] use nointr allocator for shmmap_entry_pool - this is always accessed from process context --- sys/kern/sysv_shm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/sysv_shm.c b/sys/kern/sysv_shm.c index 6c5b43eee8e4..54251717c161 100644 --- a/sys/kern/sysv_shm.c +++ b/sys/kern/sysv_shm.c @@ -1,4 +1,4 @@ -/* $NetBSD: sysv_shm.c,v 1.80 2004/10/16 13:34:07 jdolecek Exp $ */ +/* $NetBSD: sysv_shm.c,v 1.81 2004/10/17 11:23:16 jdolecek Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -68,7 +68,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sysv_shm.c,v 1.80 2004/10/16 13:34:07 jdolecek Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sysv_shm.c,v 1.81 2004/10/17 11:23:16 jdolecek Exp $"); #define SYSVSHM @@ -120,7 +120,7 @@ struct shmmap_entry { }; static POOL_INIT(shmmap_entry_pool, sizeof(struct shmmap_entry), 0, 0, 0, - "shmmp", 0); + "shmmp", pool_allocator_nointr); struct shmmap_state { unsigned int nitems;