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

git: vkernel/intr: Pin vkernel "hardware interrupts" to CPU0


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 30 Dec 2011 19:37:51 -0800 (PST)

commit bae88a6fb83b50ace893acf72fafe4eee2f220dd
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Dec 31 11:29:32 2011 +0800

    vkernel/intr: Pin vkernel "hardware interrupts" to CPU0
    
    Due to the nondeterminsm of CPU to which SIGIO will be delivered,
    we can't depend on "hardware interrupts" of vkernel always happen
    on the registered CPU.  We now pin the vkernel "hardware interrupts"
    to CPU0, so the interrupt scheduling code could always know the
    correct ithread to be scheduled.
    
    Reported-by: tuxillo vsrinivas

Summary of changes:
 sys/kern/kern_intr.c                       |   24 ++++++++++++++++++++++++
 sys/platform/vkernel/platform/console.c    |    3 ++-
 sys/platform/vkernel/platform/cothread.c   |    6 +++---
 sys/platform/vkernel/platform/kqueue.c     |    8 ++++----
 sys/platform/vkernel/platform/machintr.c   |    8 ++++----
 sys/platform/vkernel/platform/shutdown.c   |    3 ++-
 sys/platform/vkernel64/platform/console.c  |    3 ++-
 sys/platform/vkernel64/platform/cothread.c |    6 +++---
 sys/platform/vkernel64/platform/kqueue.c   |    8 ++++----
 sys/platform/vkernel64/platform/machintr.c |    8 ++++----
 sys/platform/vkernel64/platform/shutdown.c |    3 ++-
 sys/sys/interrupt.h                        |    7 +++++++
 12 files changed, 61 insertions(+), 26 deletions(-)

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


-- 
DragonFly BSD source repository



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