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); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"