Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion p23-sleeplocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ sleep lock is acquired, its `locked` flag is simply set to `1`; release sets it
to `0`. While acquiring, if we find that the `locked` flag is already set, the
process just sleeps on the lock. It gets woken up when the sleep lock is released.

`bio.c` acquires the buffer's sleep lock in `bget` and release it in `brelse`.
`bio.c` acquires the buffer's sleep lock in `bget` and releases it in `brelse`.
Similarly, inodes are synchronized using sleep locks.