summaryrefslogtreecommitdiff
path: root/sys/kern/kern_sched.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2020-02-21 11:10:24 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2020-02-21 11:10:24 +0000
commit44f18b94170cd98c42626b69d8362d0e13a638ab (patch)
treec72c783c8d33841707638b976df9691ef5010bda /sys/kern/kern_sched.c
parent60414df02f949212f37643473418202f197dd828 (diff)
Remove sigacts structure sharing. The only process that used sharing was
proc0 which is used for kthreads and idle threads. proc0 and all those other kernel threads don't handle signals so there is no benefit in sharing. Simplifies the code a fair bit since the refcnt is gone. OK kettenis@
Diffstat (limited to 'sys/kern/kern_sched.c')
-rw-r--r--sys/kern/kern_sched.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_sched.c b/sys/kern/kern_sched.c
index 06185845521..85eb00c0206 100644
--- a/sys/kern/kern_sched.c
+++ b/sys/kern/kern_sched.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sched.c,v 1.65 2020/02/05 10:12:38 mpi Exp $ */
+/* $OpenBSD: kern_sched.c,v 1.66 2020/02/21 11:10:23 claudio Exp $ */
/*
* Copyright (c) 2007, 2008 Artur Grabowski <art@openbsd.org>
*
@@ -118,7 +118,7 @@ sched_kthreads_create(void *v)
static int num;
if (fork1(&proc0, FORK_SHAREVM|FORK_SHAREFILES|FORK_NOZOMBIE|
- FORK_SYSTEM|FORK_SIGHAND|FORK_IDLE, sched_idle, ci, NULL,
+ FORK_SYSTEM|FORK_IDLE, sched_idle, ci, NULL,
&spc->spc_idleproc))
panic("fork idle");