Fix scheduler starvation, use lists for scheduling
All checks were successful
Build documentation / build-and-deploy (push) Successful in 33s

This commit is contained in:
2026-01-22 11:54:52 +01:00
parent 7eceecf6e3
commit fea0999726
9 changed files with 83 additions and 54 deletions

View File

@@ -1,11 +1,11 @@
#ifndef _KERNEL_PROC_SUSPENTION_Q_H
#define _KERNEL_PROC_SUSPENTION_Q_H
#include <libk/rbtree.h>
#include <libk/list.h>
#include <sync/spin_lock.h>
struct proc_suspension_q {
struct rb_node_link* proc_tree;
struct list_node_link* proc_list;
spin_lock_t lock;
};