a bit more

This commit is contained in:
Frans Kaashoek 2019-07-27 20:18:40 -04:00
parent d82f43e0c7
commit bdcd23ea49

View file

@ -72,7 +72,12 @@ workloads.
<p>Some hints:
<ul>
<li>Initially divide the free memory equally among the different CPUs.
<li>You can use the constant <tt>NCPU</tt> in kernel/param.h
<li>Let <tt>freerange</tt> give all free memory to the CPU
running <tt>freerange</tt>.
<li>The function <tt>cpuid</tt> returns the current core, but note
that you can use it when interrupts are turned off and so you will
need to turn on/off interrupts in your solution.
</ul>
<p>Run usertests to see if you don't break anything.