summaryrefslogtreecommitdiff
path: root/labs
diff options
context:
space:
mode:
Diffstat (limited to 'labs')
-rw-r--r--labs/lock.html9
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>