mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
scheduler: reduce quantum to 10ms
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
#include <arch/smp.h>
|
#include <arch/smp.h>
|
||||||
#include <kernel/init.h>
|
#include <kernel/init.h>
|
||||||
|
|
||||||
#define QUANTUM_US 100000
|
#define QUANTUM_US 10000
|
||||||
#define SCHEDULER_STACK_SIZE PAGE_SIZE * 16
|
#define SCHEDULER_STACK_SIZE PAGE_SIZE * 16
|
||||||
|
|
||||||
static __attribute__((noreturn)) void switch_thread(thread_t *thread) {
|
static __attribute__((noreturn)) void switch_thread(thread_t *thread) {
|
||||||
|
|||||||
Reference in New Issue
Block a user