public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c626a2
)
kernel: allow platforms to override the default task switch rate
author
Alan Cox
<alan@linux.intel.com>
Sun, 4 Dec 2016 13:37:08 +0000
(13:37 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sun, 4 Dec 2016 13:37:08 +0000
(13:37 +0000)
This is useful on pure swap systems for example.
Kernel/include/kernel.h
patch
|
blob
|
history
diff --git
a/Kernel/include/kernel.h
b/Kernel/include/kernel.h
index
0e6ebef
..
dd23765
100644
(file)
--- a/
Kernel/include/kernel.h
+++ b/
Kernel/include/kernel.h
@@
-78,8
+78,11
@@
From UZI by Doug Braun and UZI280 by Stefan Nitschke.
#endif
+#ifndef MAXTICKS
#define MAXTICKS 10 /* Max ticks before switching out (time slice)
default process time slice */
+#endif
+
// #define MAXBACK 3 /* Process time slice for tasks not connected
// to the current tty */
// #define MAXBACK2 2 /* Process time slice for background tasks */