diff options
author | Frans Kaashoek <[email protected]> | 2019-07-27 21:02:37 -0400 |
---|---|---|
committer | Frans Kaashoek <[email protected]> | 2019-07-27 21:02:37 -0400 |
commit | fe14bd1113d571ec6abd45f3d99dadabc24fd06e (patch) | |
tree | 2dc1941847ec33bb5de3173ce05b179e9dd13b38 /labs | |
parent | bdcd23ea49885b5fd205d2856073d3d89b3a9bc2 (diff) | |
download | xv6-labs-fe14bd1113d571ec6abd45f3d99dadabc24fd06e.tar.gz xv6-labs-fe14bd1113d571ec6abd45f3d99dadabc24fd06e.tar.bz2 xv6-labs-fe14bd1113d571ec6abd45f3d99dadabc24fd06e.zip |
a thought
Diffstat (limited to 'labs')
-rw-r--r-- | labs/lock.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/labs/lock.html b/labs/lock.html index 5eddc58..fe2da45 100644 --- a/labs/lock.html +++ b/labs/lock.html @@ -81,6 +81,15 @@ workloads. </ul> <p>Run usertests to see if you don't break anything. + +<h2>Lock-free bcache lookup</h2> + +<p>Modify <tt>bget</tt> so that succesful lookups don't need to + acquire <tt>bcache.lock</tt>. The challenge is + concurrent <tt>brelse</tt>, which modify the list that <tt>bget</tt> + traverses. (Hint: there is no need for <tt>bget</tt> to use the + list.) + </body> </html> |