1. 2017年 1月 31日 2 次提交
    • Peter Froehlich's avatar
      Fix long-standing switchuvm() inconsistency. · 8d1f9963
      Peter Froehlich 提交于
      switchuvm() is supposed to switch the TSS and page table to the
      process p it is passed. Alas, instead of using p to access the
      kstack field, it used the global proc. This worked fine because
      (a) most uses of switchuvm() pass proc anyway and (b) because in
      the schedule, where we call switchuvm with the newly scheduled
      process, we actually set the global proc before the call. But I
      think it's still a bug, even if it never broke a test case. :-)
      8d1f9963
    • Peter H. Froehlich's avatar
      Fix unsigned conversion bug. · e916d668
      Peter H. Froehlich 提交于
      Since readi() returns -1 for errors, checking with < against an unsigned
      value is inadvisable. Checking with != works as intended however.
      e916d668
  2. 2017年 1月 30日 1 次提交
  3. 2016年 9月 27日 1 次提交
    • Cody Cutler's avatar
      fix possible memory leak in deallocuvm · ffe44492
      Cody Cutler 提交于
      when a zero PDE is encountered while searching for present PTEs to free,
      resume searching at first entry of the next page table instead of the
      current entry of the next page table.
      ffe44492
  4. 2016年 9月 26日 3 次提交
  5. 2016年 9月 25日 1 次提交
  6. 2016年 9月 19日 2 次提交
  7. 2016年 9月 16日 5 次提交
  8. 2016年 9月 15日 2 次提交
  9. 2016年 9月 14日 2 次提交
  10. 2016年 9月 12日 4 次提交
  11. 2016年 9月 09日 5 次提交
  12. 2016年 9月 03日 2 次提交
  13. 2016年 9月 02日 5 次提交
  14. 2016年 8月 26日 3 次提交
  15. 2016年 8月 25日 2 次提交