Date: Thu, 7 Feb 2013 06:48:47 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r246452 - head/sys/kern Message-ID: <201302070648.r176mmKS040110@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: neel Date: Thu Feb 7 06:48:47 2013 New Revision: 246452 URL: http://svnweb.freebsd.org/changeset/base/246452 Log: If an interrupt event's assign_cpu method fails, then restore the original cpuset mask for the associated interrupt thread. The text used above is verbatim from r195249 and the code should now be in line with the intent of that commit. Modified: head/sys/kern/kern_intr.c Modified: head/sys/kern/kern_intr.c ============================================================================== --- head/sys/kern/kern_intr.c Thu Feb 7 04:49:28 2013 (r246451) +++ head/sys/kern/kern_intr.c Thu Feb 7 06:48:47 2013 (r246452) @@ -336,7 +336,7 @@ intr_event_bind(struct intr_event *ie, u if (ie->ie_cpu == NOCPU) CPU_COPY(cpuset_root, &mask); else - CPU_SET(cpu, &mask); + CPU_SET(ie->ie_cpu, &mask); id = ie->ie_thread->it_thread->td_tid; mtx_unlock(&ie->ie_lock); (void)cpuset_setthread(id, &mask);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302070648.r176mmKS040110>