Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7-0]: src/sys/kern Pull up following revision(s) (requested by pg...
details: https://anonhg.NetBSD.org/src/rev/dbfe7133e0eb
branches: netbsd-7-0
changeset: 801061:dbfe7133e0eb
user: snj <snj%NetBSD.org@localhost>
date: Thu Nov 05 09:30:20 2015 +0000
description:
Pull up following revision(s) (requested by pgoyette in ticket #999):
sys/kern/kern_exit.c: revision 1.248
Update value of p_stat before we release the proc_lock. Thanks to
Robert Elz.
diffstat:
sys/kern/kern_exit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 2abc7908b936 -r dbfe7133e0eb sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c Thu Nov 05 09:21:50 2015 +0000
+++ b/sys/kern/kern_exit.c Thu Nov 05 09:30:20 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exit.c,v 1.244.6.1 2015/11/05 09:05:18 snj Exp $ */
+/* $NetBSD: kern_exit.c,v 1.244.6.2 2015/11/05 09:30:20 snj Exp $ */
/*-
* Copyright (c) 1998, 1999, 2006, 2007, 2008 The NetBSD Foundation, Inc.
@@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.244.6.1 2015/11/05 09:05:18 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.244.6.2 2015/11/05 09:30:20 snj Exp $");
#include "opt_ktrace.h"
#include "opt_perfctrs.h"
@@ -235,8 +235,8 @@
}
p->p_waited = 0;
p->p_pptr->p_nstopchild++;
+ p->p_stat = SSTOP;
mutex_exit(proc_lock);
- p->p_stat = SSTOP;
lwp_lock(l);
p->p_nrlwps--;
l->l_stat = LSSTOP;
Home |
Main Index |
Thread Index |
Old Index