Module Name: src
Committed By: ad
Date: Sat May 23 23:37:17 UTC 2020
Modified Files:
src/sys/sys: sched.h
Log Message:
Oops. If a SCHED_RR thread is preempted and has exceeded its timeslice it
needs to go to the back of the run queue so round-robin actually happens,
otherwise it should go to the front.
To generate a diff of this commit:
cvs rdiff -u -r1.89 -r1.90 src/sys/sys/sched.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/sys/sched.h
diff -u src/sys/sys/sched.h:1.89 src/sys/sys/sched.h:1.90
--- src/sys/sys/sched.h:1.89 Tue May 12 11:21:09 2020
+++ src/sys/sys/sched.h Sat May 23 23:37:17 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: sched.h,v 1.89 2020/05/12 11:21:09 kamil Exp $ */
+/* $NetBSD: sched.h,v 1.90 2020/05/23 23:37:17 ad Exp $ */
/*-
* Copyright (c) 1999, 2000, 2001, 2002, 2007, 2008, 2019, 2020
@@ -210,6 +210,7 @@ struct schedstate_percpu {
#ifdef _KERNEL
extern int schedhz; /* ideally: 16 */
+extern u_int sched_rrticks;
struct proc;
struct cpu_info;