Date: Thu, 14 Apr 2005 18:30:10 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 machdep.c Message-ID: <200504141830.j3EIUAXY084080@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2005-04-14 18:30:10 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 machdep.c Log: Close a race I introduced in the spinlock_* changes. We need to finish disabling interrupts before updating the saved pil in the thread. If we save the value first then it can be clobbered if an interrupt comes in and the interrupt handler tries to acquire a spin lock. Submitted by: marius Revision Changes Path 1.124 +3 -1 src/sys/sparc64/sparc64/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200504141830.j3EIUAXY084080>