Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 01:06:02 +0000 (UTC)
From:      Randall Stewart <rrs@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202905 - head/sys/mips/rmi
Message-ID:  <201001240106.o0O162BQ072179@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rrs
Date: Sun Jan 24 01:06:02 2010
New Revision: 202905
URL: http://svn.freebsd.org/changeset/base/202905

Log:
  Changes the order of the setting the int happened (inside
  the lock).

Modified:
  head/sys/mips/rmi/xlr_machdep.c

Modified: head/sys/mips/rmi/xlr_machdep.c
==============================================================================
--- head/sys/mips/rmi/xlr_machdep.c	Sat Jan 23 23:16:50 2010	(r202904)
+++ head/sys/mips/rmi/xlr_machdep.c	Sun Jan 24 01:06:02 2010	(r202905)
@@ -617,8 +617,8 @@ msgring_process_fast_intr(void *arg)
 	 * messages
 	 */
 	disable_msgring_int(NULL);
-	it->i_pending = 1;
 	thread_lock(td);
+	it->i_pending = 1;
 	if (TD_AWAITING_INTR(td)) {
 		CTR3(KTR_INTR, "%s: schedule pid %d (%s)", __func__, p->p_pid,
 		    p->p_comm);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001240106.o0O162BQ072179>