Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2006 03:38:47 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 107731 for review
Message-ID:  <200610120338.k9C3claK098822@repoman.freebsd.org>

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

Change 107731 by jb@jb_freebsd8 on 2006/10/12 03:38:38

	Remove optional KSE now it's being done on a different branch.

Affected files ...

.. //depot/projects/dtrace/src/sys/amd64/amd64/machdep.c#11 edit
.. //depot/projects/dtrace/src/sys/amd64/amd64/trap.c#10 edit

Differences ...

==== //depot/projects/dtrace/src/sys/amd64/amd64/machdep.c#11 (text+ko) ====

@@ -1118,11 +1118,7 @@
  	 * This may be done better later if it gets more high level
  	 * components in it. If so just link td->td_proc here.
 	 */
-#ifdef KSE
 	proc_linkup(&proc0, &ksegrp0, &thread0);
-#else
-	proc_linkup(&proc0, &thread0);
-#endif
 
 	preload_metadata = (caddr_t)(uintptr_t)(modulep + KERNBASE);
 	preload_bootstrap_relocate(KERNBASE);

==== //depot/projects/dtrace/src/sys/amd64/amd64/trap.c#10 (text+ko) ====

@@ -299,10 +299,8 @@
 
 		case T_PAGEFLT:		/* page fault */
 			addr = frame.tf_addr;
-#ifdef KSE
 			if (td->td_pflags & TDP_SA)
 				thread_user_enter(td);
-#endif
 			i = trap_pfault(&frame, TRUE);
 			if (i == -1)
 				goto userout;
@@ -759,10 +757,8 @@
 	td->td_frame = &frame;
 	if (td->td_ucred != p->p_ucred) 
 		cred_update_thread(td);
-#ifdef KSE
 	if (p->p_flag & P_SA)
 		thread_user_enter(td);
-#endif
 	params = (caddr_t)frame.tf_rsp + sizeof(register_t);
 	code = frame.tf_rax;
 	orig_tf_rflags = frame.tf_rflags;



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