git: swi: Pass cpuid to swi register and unregister

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Fri Oct 28 09:04:32 PDT 2011


commit 1da8d52f09e87a41c222998c31100737cca77dd1
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Fri Oct 28 23:47:31 2011 +0800

    swi: Pass cpuid to swi register and unregister
    
    Pass -1 as cpuid then these functions will try pin the ithread to
    different CPU based on the 'intr' to be registered/unregistered.
    
    Device and taskqueue swi ithreads' cpuid is not explicitly specified,
    i.e. -1 is used, swi_vm still runs on CPU0.

Summary of changes:
 sys/bus/cam/cam_xpt.c                 |    2 +-
 sys/dev/serial/cy/cy.c                |    2 +-
 sys/dev/serial/sio/sio.c              |    2 +-
 sys/kern/kern_intr.c                  |   22 ++++++++++++++++------
 sys/kern/subr_taskqueue.c             |    4 ++--
 sys/platform/pc32/i386/vm_machdep.c   |    2 +-
 sys/platform/pc64/x86_64/vm_machdep.c |    2 +-
 sys/sys/interrupt.h                   |    6 +++---
 8 files changed, 26 insertions(+), 16 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1da8d52f09e87a41c222998c31100737cca77dd1


-- 
DragonFly BSD source repository





More information about the Commits mailing list