Skip to content

Commit 6ef128d

Browse files
kernel: fix formatting
Signed-off-by: Anhad Singh <[email protected]>
1 parent 5a559a1 commit 6ef128d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/aero_kernel/src/userland/scheduler/round_robin.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -261,11 +261,10 @@ impl SchedulerInterface for RoundRobin {
261261
fn preempt(&self) {
262262
// We want to preempt under the following circumstances:
263263
//
264-
// 1. When a process switches from the running state to the waiting
265-
// state.
264+
// 1. When a process switches from the running state to the waiting state.
266265
// 2. When the timer interrupt fires.
267-
// 3. When the process switches from the waiting state to the runnable state
268-
// (for example, on completion of I/O operation).
266+
// 3. When the process switches from the waiting state to the runnable state (for example,
267+
// on completion of I/O operation).
269268
// 4. When the process is terminated.
270269

271270
let guard = IrqGuard::new();

0 commit comments

Comments
 (0)