public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8bf06a
)
process: note a problem to revisit
author
Alan Cox
<alan@linux.intel.com>
Thu, 20 Oct 2016 16:50:59 +0000
(17:50 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Thu, 20 Oct 2016 16:50:59 +0000
(17:50 +0100)
Kernel/process.c
patch
|
blob
|
history
diff --git
a/Kernel/process.c
b/Kernel/process.c
index
5bc3adb
..
c46cdf7
100644
(file)
--- a/
Kernel/process.c
+++ b/
Kernel/process.c
@@
-370,6
+370,7
@@
void timer_interrupt(void)
#ifndef CONFIG_SINGLETASK
/* Check run time of current process */
/* Time to switch out? */
+ /* FIXME: don't count runticks while swapping in ! */
if ((++runticks >= udata.u_ptab->p_priority)
&& !udata.u_insys && inint && nready > 1) {
need_resched = 1;