public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3559a67
)
kernel: Pre-emption rate is supposed to be tick rate independent!
author
Alan Cox
<alan@linux.intel.com>
Fri, 6 Apr 2018 18:38:01 +0000
(19:38 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Fri, 6 Apr 2018 18:38:01 +0000
(19:38 +0100)
Kernel/include/kernel.h
patch
|
blob
|
history
diff --git
a/Kernel/include/kernel.h
b/Kernel/include/kernel.h
index
ec54b02
..
a736262
100644
(file)
--- a/
Kernel/include/kernel.h
+++ b/
Kernel/include/kernel.h
@@
-112,8
+112,9
@@
From UZI by Doug Braun and UZI280 by Stefan Nitschke.
#ifndef MAXTICKS
-#define MAXTICKS 10 /* Max ticks before switching out (time slice)
- default process time slice */
+#define MAXTICKS (TICKSPERSEC/10)
+ /* Max ticks before switching out (time slice)
+ default process time slice */
#endif
// #define MAXBACK 3 /* Process time slice for tasks not connected