From owner-p4-projects Wed Jun 19 14:21:33 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 1B77D37B400; Wed, 19 Jun 2002 14:21:21 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id C655F37B401 for ; Wed, 19 Jun 2002 14:21:19 -0700 (PDT) Received: (from perforce@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5JLLJO04046 for perforce@freebsd.org; Wed, 19 Jun 2002 14:21:19 -0700 (PDT) (envelope-from julian@freebsd.org) Date: Wed, 19 Jun 2002 14:21:19 -0700 (PDT) Message-Id: <200206192121.g5JLLJO04046@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: perforce set sender to julian@freebsd.org using -f From: Julian Elischer Subject: PERFORCE change 13174 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG http://people.freebsd.org/~peter/p4db/chv.cgi?CH=13174 Change 13174 by julian@julian_ref on 2002/06/19 14:20:26 Remove debugging cruft Affected files ... ... //depot/projects/kse/sys/i386/i386/trap.c#52 edit ... //depot/projects/kse/sys/kern/kern_proc.c#71 edit ... //depot/projects/kse/sys/kern/kern_thread.c#74 edit ... //depot/projects/kse/sys/kern/subr_trap.c#69 edit Differences ... ==== //depot/projects/kse/sys/i386/i386/trap.c#52 (text+ko) ==== @@ -965,7 +965,6 @@ */ 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/kern/kern_proc.c#71 (text+ko) ==== @@ -218,10 +218,8 @@ int err; p = td->td_proc; -printf("got here 0\n"); if ((err = copyin(uap->mbx, &mbx, sizeof(mbx)))) return (err); -printf("got here 1\n"); PROC_LOCK(p); /* * If we have no KSE mode set, just set it, and skip KSE and KSEGRP @@ -248,7 +246,6 @@ */ newkse = td->td_kse; } -printf("got here 2\n"); /* * Fill out the KSE-mode specific fields of the new kse. */ ==== //depot/projects/kse/sys/kern/kern_thread.c#74 (text+ko) ==== @@ -400,8 +400,6 @@ 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, my td %p, kse %p\n", -td2, td, 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#69 (text+ko) ==== @@ -202,7 +202,6 @@ if (td->td_flags & TDF_UPCALLING) { CTR3(KTR_PROC, "userret: upcall thread %p (pid %d, %s)", td, p->p_pid, p->p_comm); -printf("Upcalling!\n"); /* * Make sure that it has the correct frame loaded. * While we know that we are on the same KSEGRP @@ -230,12 +229,6 @@ error = suword((caddr_t)td->td_kse->ke_mailbox + offsetof(struct kse_mailbox, kmbx_current_thread), 0); -#if 0 -#ifdef __i386__ -printf("suword mailbox to 0 error: %d, frame= %p, eip=%d, esp=%d\n", error, -frame, frame->tf_eip, frame->tf_esp); -#endif -#endif } /* * Stop any chance that we may be separated from To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message