git: vm: Idlezero changes

Venkatesh Srinivas vsrinivas at crater.dragonflybsd.org
Tue Aug 24 20:39:23 PDT 2010


commit 8787825a65f14bcf19955bf9fd4fe5bcfc25865e
Author: Venkatesh Srinivas <me at endeavour.zapto.org>
Date:   Tue Aug 24 20:31:07 2010 -0700

    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.

Summary of changes:
 sys/vm/vm_zeroidle.c |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8787825a65f14bcf19955bf9fd4fe5bcfc25865e


-- 
DragonFly BSD source repository





More information about the Commits mailing list