Date: Tue, 14 Sep 2010 01:48:01 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/mips mp_machdep.c Message-ID: <201009140148.o8E1mRIT073961@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
neel 2010-09-14 01:48:01 UTC
FreeBSD src repository
Modified files:
sys/mips/mips mp_machdep.c
Log:
SVN rev 212593 on 2010-09-14 01:48:01Z by neel
Port r212559 to mips.
Do not explicitly enable interrupts in smp_init_secondary() because it
renders any spinlock protected code after that point to run with
interrupts enabled. This is because the processor is executing in the
context of idlethread whose 'md_spinlock_count' is already set to 1.
Instead just let sched_throw() re-enable interrupts when it releases
the spinlock.
The original powerpc commit log for r212559 is available here:
http://svn.freebsd.org/viewvc/base?view=revision&revision=212559
Revision Changes Path
1.17 +0 -2 src/sys/mips/mips/mp_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009140148.o8E1mRIT073961>
