DragonFly BSD
DragonFly commits List (threaded) for 2012-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel - usched_dfly revamp (7), bring back td_release, sysv_sem, weights


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 25 Sep 2012 12:56:52 -0700 (PDT)

commit e3e6be1f3ada3078bf270c3a65637a84a95c4585
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Tue Sep 25 11:53:58 2012 -0700

    kernel - usched_dfly revamp (7), bring back td_release, sysv_sem, weights
    
    * Bring back the td_release kernel priority adjustment.
    
    * sysv_sem now attempts to delay wakeups until after releasing its token.
    
    * Tune default weights.
    
    * Do not depress priority until we've become the uschedcp.
    
    * Fix priority sort for LWKT and usched_dfly to avoid context-switching
      across all runable threads twice.

Summary of changes:
 sys/conf/options                 |    1 +
 sys/kern/kern_fork.c             |    6 ++--
 sys/kern/lwkt_thread.c           |   25 ++++++++++----
 sys/kern/sysv_sem.c              |    7 +++-
 sys/kern/usched_bsd4.c           |    7 +++-
 sys/kern/usched_dfly.c           |   67 ++++++++++++++++++++++++++++++--------
 sys/kern/usched_dummy.c          |    6 +++
 sys/platform/pc32/i386/trap.c    |   14 ++++----
 sys/platform/pc64/x86_64/trap.c  |    5 ++-
 sys/platform/vkernel/i386/trap.c |   14 ++++----
 sys/sys/thread2.h                |    2 +-
 sys/sys/usched.h                 |    6 +++-
 12 files changed, 114 insertions(+), 46 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/e3e6be1f3ada3078bf270c3a65637a84a95c4585


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]