summaryrefslogtreecommitdiff
path: root/kern/sched.h
diff options
context:
space:
mode:
Diffstat (limited to 'kern/sched.h')
-rw-r--r--kern/sched.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kern/sched.h b/kern/sched.h
index c401f0f5..8a4ec75b 100644
--- a/kern/sched.h
+++ b/kern/sched.h
@@ -113,6 +113,7 @@ extern queue_head_t action_queue; /* assign/shutdown queue */
decl_simple_lock_data(extern,action_lock);
extern int min_quantum; /* defines max context switch rate */
+#define MIN_QUANTUM (hz / 33) /* context switch 33 times/second */
/*
* Default base priorities for threads.