Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2002 19:05:44 -0700 (PDT)
From:      Julian Elischer <julian@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 12959 for review
Message-ID:  <200206150205.g5F25iO14831@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=12959

Change 12959 by julian@julian_jules1 on 2002/06/14 19:05:06

	add debug stuff

Affected files ...

... //depot/projects/kse/sys/i386/i386/trap.c#50 edit
... //depot/projects/kse/sys/i386/i386/vm_machdep.c#56 edit
... //depot/projects/kse/sys/kern/kern_proc.c#69 edit
... //depot/projects/kse/sys/kern/kern_thread.c#69 edit
... //depot/projects/kse/sys/kern/subr_trap.c#66 edit

Differences ...

==== //depot/projects/kse/sys/i386/i386/trap.c#50 (text+ko) ====

@@ -964,6 +964,7 @@
 		 */
 		td->td_mailbox = (void *)fuword((caddr_t)td->td_kse->ke_mailbox
 		    + offsetof(struct kse_mailbox, kmbx_current_thread));
+printf("is KSE mode in syscall(): %p\n", td->td_mailbox);
 		if ((td->td_mailbox == NULL) ||
 		(td->td_mailbox == (void *)-1)) {
 			td->td_mailbox = NULL;	/* single thread it.. */

==== //depot/projects/kse/sys/i386/i386/vm_machdep.c#56 (text+ko) ====


==== //depot/projects/kse/sys/kern/kern_proc.c#69 (text+ko) ====


==== //depot/projects/kse/sys/kern/kern_thread.c#69 (text+ko) ====

@@ -405,6 +405,7 @@
 	     td, td->td_proc->p_pid, td->td_proc->p_comm);
 	thread_link(td2, ke->ke_ksegrp);
 	cpu_set_upcall(td2, ke->ke_pcb);
+printf("thread_schedule_upcall: Scheduled td %p kse %p\n", td2, ke);
 	td2->td_ucred = crhold(td->td_ucred);
 	td2->td_kse = NULL;	/* Back as it was. */
 	td2->td_flags = TDF_UNBOUND|TDF_UPCALLING;

==== //depot/projects/kse/sys/kern/subr_trap.c#66 (text+ko) ====


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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