Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jan 2008 21:31:12 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 132582 for review
Message-ID:  <200801052131.m05LVC7n031357@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132582

Change 132582 by gonzo@gonzo_jeeves on 2008/01/05 21:30:40

	o thread_user_enter comes with KSE enabled

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/mips/trap.c#6 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/mips/trap.c#6 (text+ko) ====

@@ -648,8 +648,10 @@
 		PCPU_LAZY_INC(cnt.v_syscall);
 		if (td->td_ucred != p->p_ucred)
 			cred_update_thread(td);
+#ifdef KSE
 		if (p->p_flag & P_SA)
 			thread_user_enter(td);
+#endif		
 		/* compute next PC after syscall instruction */
 		tpc = trapframe->pc; /* Remember if restart */
 		if (DELAYBRANCH(trapframe->cause)) {	/* Check BD bit */



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