git: swi: Pass cpuid to swi register and unregister

看板DFBSD_commit作者時間14年前 (2011/10/29 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 1da8d52f09e87a41c222998c31100737cca77dd1 Author: Sepherosa Ziehau <sephe@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
文章代碼(AID): #1EgktjQL (DFBSD_commit)