vm: Idlezero changes
authorVenkatesh Srinivas <me@endeavour.zapto.org>
Wed, 25 Aug 2010 03:31:07 +0000 (20:31 -0700)
committerVenkatesh Srinivas <me@endeavour.zapto.org>
Wed, 25 Aug 2010 03:31:07 +0000 (20:31 -0700)
commit8787825a65f14bcf19955bf9fd4fe5bcfc25865e
tree0988c94f328dc5ed675a6e6d4dfec962ca3297b3
parent42f6f6b1b2dcc2ca10d31421d2dd6273851e012d
vm: Idlezero changes

* Restore yield to idlezero loop; we lwkt_yield() every 64-bytes rather than
  every page now.
* Unmark as MPSAFE; we are not MPSAFE, we hold the MP lock. When the page
  queues are safe to access with the vm token alone, we can revert to a prior
  edition of this code, which was mpsafe.
sys/vm/vm_zeroidle.c