From owner-p4-projects@FreeBSD.ORG Tue Jul 11 20:28:31 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E405D16A4E7; Tue, 11 Jul 2006 20:28:30 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFB1116A4DE for ; Tue, 11 Jul 2006 20:28:30 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74EFE43D60 for ; Tue, 11 Jul 2006 20:28:30 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6BKSUoR091787 for ; Tue, 11 Jul 2006 20:28:30 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6BKSUg6091784 for perforce@freebsd.org; Tue, 11 Jul 2006 20:28:30 GMT (envelope-from jb@freebsd.org) Date: Tue, 11 Jul 2006 20:28:30 GMT Message-Id: <200607112028.k6BKSUg6091784@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 101290 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jul 2006 20:28:31 -0000 http://perforce.freebsd.org/chv.cgi?CH=101290 Change 101290 by jb@jb_freebsd2 on 2006/07/11 20:28:23 Remove a few kse artifacts that got missed in the bike_sched drive by shooting. Affected files ... .. //depot/projects/kmacy_sun4v_stable/src/lib/libkvm/kvm_proc.c#2 edit Differences ... ==== //depot/projects/kmacy_sun4v_stable/src/lib/libkvm/kvm_proc.c#2 (text+ko) ==== @@ -113,8 +113,6 @@ struct ucred ucred; struct prison pr; struct thread mtd; - /*struct kse mke;*/ - struct ksegrp mkg; struct proc proc; struct proc pproc; struct timeval tv; @@ -137,6 +135,7 @@ TAILQ_FIRST(&proc.p_threads)); return (-1); } +#if 0 if ((proc.p_flag & P_SA) == 0) { if (KREAD(kd, (u_long)TAILQ_FIRST(&proc.p_ksegrps), @@ -146,7 +145,6 @@ TAILQ_FIRST(&proc.p_ksegrps)); return (-1); } -#if 0 if (KREAD(kd, (u_long)TAILQ_FIRST(&mkg.kg_kseq), &mke)) { _kvm_err(kd, kd->program, @@ -154,8 +152,8 @@ TAILQ_FIRST(&mkg.kg_kseq)); return (-1); } + } #endif - } } if (KREAD(kd, (u_long)proc.p_ucred, &ucred) == 0) { kp->ki_ruid = ucred.cr_ruid; @@ -418,13 +416,13 @@ kp->ki_oncpu = mtd.td_oncpu; if (!(proc.p_flag & P_SA)) { +#if 0 /* stuff from the ksegrp */ kp->ki_slptime = mkg.kg_slptime; kp->ki_pri.pri_class = mkg.kg_pri_class; kp->ki_pri.pri_user = mkg.kg_user_pri; kp->ki_estcpu = mkg.kg_estcpu; -#if 0 /* Stuff from the kse */ kp->ki_pctcpu = mke.ke_pctcpu; kp->ki_rqindex = mke.ke_rqindex;