Fix CPU load balancer bugs, scheduling points support for remote CPUs
All checks were successful
Build documentation / build-and-deploy (push) Successful in 28s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 28s
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <sync/spin_lock.h>
|
||||
|
||||
struct proc;
|
||||
struct cpu;
|
||||
|
||||
struct proc_suspension_q {
|
||||
struct list_node_link* proc_list;
|
||||
@@ -20,7 +21,8 @@ struct proc_sq_entry {
|
||||
|
||||
void proc_sqs_cleanup (struct proc* proc);
|
||||
bool proc_sq_suspend (struct proc* proc, struct proc_suspension_q* sq, spin_lock_t* resource_lock,
|
||||
spin_lock_ctx_t* ctxrl);
|
||||
bool proc_sq_resume (struct proc* proc, struct proc_sq_entry* sq_entry);
|
||||
spin_lock_ctx_t* ctxrl, struct cpu** reschedule_cpu);
|
||||
bool proc_sq_resume (struct proc* proc, struct proc_sq_entry* sq_entry,
|
||||
struct cpu** reschedule_cpu);
|
||||
|
||||
#endif // _KERNEL_PROC_SUSPENTION_Q_H
|
||||
|
||||
Reference in New Issue
Block a user