Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6-1]: src/sys/kern Pull up following revision(s) (requested by pg...
details: https://anonhg.NetBSD.org/src/rev/7d10260d89c9
branches: netbsd-6-1
changeset: 776099:7d10260d89c9
user: bouyer <bouyer%NetBSD.org@localhost>
date: Sun Nov 15 20:44:13 2015 +0000
description:
Pull up following revision(s) (requested by pgoyette in ticket #1336):
sys/kern/kern_exit.c: revision 1.248
Update value of p_stat before we release the proc_lock. Thanks to
Robert Elz.
XXX Pull-ups for -7, -6{,-0,-1} and -5{,-0,-1,-2}
diffstat:
sys/kern/kern_exit.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r bfaad4e956e1 -r 7d10260d89c9 sys/kern/kern_exit.c
--- a/sys/kern/kern_exit.c Sun Nov 15 20:42:39 2015 +0000
+++ b/sys/kern/kern_exit.c Sun Nov 15 20:44:13 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exit.c,v 1.236.2.2.4.1 2015/11/15 20:38:18 bouyer Exp $ */
+/* $NetBSD: kern_exit.c,v 1.236.2.2.4.2 2015/11/15 20:44:13 bouyer 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.236.2.2.4.1 2015/11/15 20:38:18 bouyer Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exit.c,v 1.236.2.2.4.2 2015/11/15 20:44:13 bouyer Exp $");
#include "opt_ktrace.h"
#include "opt_perfctrs.h"
@@ -248,8 +248,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