PERFORCE change 107731 for review

John Birrell jb at FreeBSD.org
Wed Oct 11 20:38:48 PDT 2006


http://perforce.freebsd.org/chv.cgi?CH=107731

Change 107731 by jb at 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;


More information about the p4-projects mailing list