Simplify reschedule points, mail works now!
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m55s

This commit is contained in:
2026-02-19 18:25:47 +01:00
parent a1730dfdc2
commit 4472ad5bb3
13 changed files with 45 additions and 143 deletions

View File

@@ -48,7 +48,8 @@ void proc_sq_suspend (struct proc* proc, struct proc_suspension_q* sq, spin_lock
spin_unlock (&proc->lock);
spin_unlock (&cpu->lock);
reschedule_list_append (rctx, cpu);
rctx->reschedule = true;
rctx->cpu = cpu;
}
void proc_sq_resume (struct proc* proc, struct proc_sq_entry* sq_entry,
@@ -80,7 +81,8 @@ void proc_sq_resume (struct proc* proc, struct proc_sq_entry* sq_entry,
free (sq_entry);
reschedule_list_append (rctx, cpu);
rctx->reschedule = true;
rctx->cpu = cpu;
}
void proc_sqs_cleanup (struct proc* proc) {