git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
regression: mmap for fd
[lunaix-os.git]
/
lunaix-os
/
includes
/
lunaix
/
sched.h
diff --git
a/lunaix-os/includes/lunaix/sched.h
b/lunaix-os/includes/lunaix/sched.h
index c1ffddd110a72f6f756555bf0621dee0a6fe405d..f31eab52daa9ce7ddc34b2d220812b64c9a27985 100644
(file)
--- a/
lunaix-os/includes/lunaix/sched.h
+++ b/
lunaix-os/includes/lunaix/sched.h
@@
-3,6
+3,9
@@
#define SCHED_TIME_SLICE 300
+#define PROC_TABLE_SIZE 8192
+#define MAX_PROCESS (PROC_TABLE_SIZE / sizeof(uintptr_t))
+
struct scheduler
{
struct proc_info** _procs;