Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern sched_preempted(): always clear LP_TELEPORT.
details: https://anonhg.NetBSD.org/src/rev/f07fa2f9e24a
branches: trunk
changeset: 1008025:f07fa2f9e24a
user: ad <ad%NetBSD.org@localhost>
date: Sun Mar 08 15:00:31 2020 +0000
description:
sched_preempted(): always clear LP_TELEPORT.
diffstat:
sys/kern/kern_runq.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 767a87b58e09 -r f07fa2f9e24a sys/kern/kern_runq.c
--- a/sys/kern/kern_runq.c Sun Mar 08 14:10:24 2020 +0000
+++ b/sys/kern/kern_runq.c Sun Mar 08 15:00:31 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_runq.c,v 1.62 2020/01/25 15:09:54 ad Exp $ */
+/* $NetBSD: kern_runq.c,v 1.63 2020/03/08 15:00:31 ad Exp $ */
/*-
* Copyright (c) 2019, 2020 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.62 2020/01/25 15:09:54 ad Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_runq.c,v 1.63 2020/03/08 15:00:31 ad Exp $");
#include "opt_dtrace.h"
@@ -908,6 +908,7 @@
if ((tspc->spc_flags & flags) == flags &&
sched_migratable(l, tci)) {
l->l_target_cpu = tci;
+ l->l_pflag &= ~LP_TELEPORT;
return;
}
tci = tci->ci_sibling[CPUREL_CORE];
Home |
Main Index |
Thread Index |
Old Index