use nointr allocator for shmmap_entry_pool - this is always accessed

from process context
This commit is contained in:
jdolecek 2004-10-17 11:23:16 +00:00
parent 0154132fed
commit 84e86b0dce

View File

@ -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 <sys/cdefs.h>
__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;