-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User-level scheduling #16
Comments
TODO
|
nuta
added a commit
that referenced
this issue
Sep 10, 2020
Finally, Resea Kernel become *policy-free* kernel. Currently this feature is not yet used in the userspace, but it'll be a good example for educational purposes.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the last piece for the policy-free kernel: allow userspace programs to decide how tasks are scheduled. The following design is based on MINIX3.
reset
. Ifreset
is -1, it sends an exception message to its pager task.sched
system call.error_t sys_sched(task_t task, int priority, int quantum, int reset, unsigned affinity);
sys_spawn
: AddTASK_SCHED
flag not to start the new task untilsys_sched
is invoked.The text was updated successfully, but these errors were encountered: