summaryrefslogtreecommitdiff
path: root/labs
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2019-07-27 21:02:37 -0400
committerFrans Kaashoek <[email protected]>2019-07-27 21:02:37 -0400
commitfe14bd1113d571ec6abd45f3d99dadabc24fd06e (patch)
tree2dc1941847ec33bb5de3173ce05b179e9dd13b38 /labs
parentbdcd23ea49885b5fd205d2856073d3d89b3a9bc2 (diff)
downloadxv6-labs-fe14bd1113d571ec6abd45f3d99dadabc24fd06e.tar.gz
xv6-labs-fe14bd1113d571ec6abd45f3d99dadabc24fd06e.tar.bz2
xv6-labs-fe14bd1113d571ec6abd45f3d99dadabc24fd06e.zip
a thought
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>