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:
@@ -6,6 +6,7 @@
|
||||
|
||||
struct proc;
|
||||
struct proc_resource;
|
||||
struct cpu;
|
||||
|
||||
struct proc_mutex {
|
||||
struct proc_resource* resource;
|
||||
@@ -15,9 +16,9 @@ struct proc_mutex {
|
||||
struct proc* owner;
|
||||
};
|
||||
|
||||
bool proc_cleanup_resource_mutex (struct proc_resource* resource);
|
||||
bool proc_mutex_lock (struct proc* proc, struct proc_mutex* mutex);
|
||||
bool proc_mutex_unlock (struct proc* proc, struct proc_mutex* mutex);
|
||||
bool proc_cleanup_resource_mutex (struct proc_resource* resource, struct cpu** reschedule_cpu);
|
||||
bool proc_mutex_lock (struct proc* proc, struct proc_mutex* mutex, struct cpu** reschedule_cpu);
|
||||
bool proc_mutex_unlock (struct proc* proc, struct proc_mutex* mutex, struct cpu** reschedule_cpu);
|
||||
void proc_mutexes_cleanup (struct proc* proc);
|
||||
|
||||
#endif // _KERNEL_PROC_MUTEX_H
|
||||
|
||||
Reference in New Issue
Block a user