Skip to content

Commit

Permalink
Fix TODO comments
Browse files Browse the repository at this point in the history
  • Loading branch information
anemoneflower committed Jan 27, 2021
1 parent 94928c8 commit a6b8f91
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kernel-rs/src/proc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ impl ProcData {
}
}

/// TODO(@efenniht): pid, state, wakeup should be methods of ProcGuard.
/// TODO(https://github.com/kaist-cp/rv6/issues/363): pid, state, wakeup should be methods of ProcGuard.
impl Proc {
const fn zero() -> Self {
Self {
Expand Down
4 changes: 2 additions & 2 deletions kernel-rs/src/spinlock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ impl RawSpinlock {
// references happen strictly after the lock is acquired.
// On RISC-V, this emits a fence instruction.
//
// TODO(@jeehoon): it's unnecessary.
// TODO(https://github.com/kaist-cp/rv6/issues/364): it's unnecessary.
//
// intrinsics::atomic_fence();
}
Expand All @@ -77,7 +77,7 @@ impl RawSpinlock {
// the lock is released.
// On RISC-V, this emits a fence instruction.
//
// TODO(@jeehoon): it's unnecessary.
// TODO(https://github.com/kaist-cp/rv6/issues/364): it's unnecessary.
//
// intrinsics::atomic_fence();

Expand Down

0 comments on commit a6b8f91

Please sign in to comment.