Date: Sat, 10 Jun 2006 21:56:35 GMT From: Kip Macy <kmacy@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 98943 for review Message-ID: <200606102156.k5ALuZxg092658@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98943 Change 98943 by kmacy@kmacy_storage:sun4v_work_ifc on 2006/06/10 21:55:59 buildworld fix Affected files ... .. //depot/projects/kmacy_sun4v/src/lib/libkvm/kvm_proc.c#3 edit Differences ... ==== //depot/projects/kmacy_sun4v/src/lib/libkvm/kvm_proc.c#3 (text+ko) ==== @@ -114,7 +114,7 @@ struct prison pr; struct thread mtd; /*struct kse mke;*/ - struct ksegrp mkg; + /* struct ksegrp mkg; */ struct proc proc; struct proc pproc; struct timeval tv; @@ -138,6 +138,7 @@ return (-1); } if ((proc.p_flag & P_SA) == 0) { +#if 0 if (KREAD(kd, (u_long)TAILQ_FIRST(&proc.p_ksegrps), &mkg)) { @@ -146,7 +147,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, @@ -418,13 +418,12 @@ 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606102156.k5ALuZxg092658>