Catch up with scheduling changes in the kernel.
This commit is contained in:
parent
58197290f3
commit
8fd9a85c2a
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kvm_proc.c,v 1.73 2007/07/09 22:28:13 ad Exp $ */
|
||||
/* $NetBSD: kvm_proc.c,v 1.74 2007/11/06 01:46:08 ad Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -74,7 +74,7 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)kvm_proc.c 8.3 (Berkeley) 9/23/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: kvm_proc.c,v 1.73 2007/07/09 22:28:13 ad Exp $");
|
||||
__RCSID("$NetBSD: kvm_proc.c,v 1.74 2007/11/06 01:46:08 ad Exp $");
|
||||
#endif
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
@ -616,7 +616,7 @@ again:
|
||||
kp2p->p_tpgid = kp->kp_eproc.e_tpgid;
|
||||
kp2p->p_tsess = PTRTOUINT64(kp->kp_eproc.e_tsess);
|
||||
|
||||
kp2p->p_estcpu = kp->kp_proc.p_estcpu;
|
||||
kp2p->p_estcpu = 0;
|
||||
kp2p->p_rtime_sec =
|
||||
(uint32_t)kp->kp_proc.p_rtime.tv_sec;
|
||||
kp2p->p_rtime_usec =
|
||||
@ -654,7 +654,7 @@ again:
|
||||
|
||||
kp2p->p_stat = kl[0].l_stat;
|
||||
kp2p->p_priority = kl[0].l_priority;
|
||||
kp2p->p_usrpri = kl[0].l_usrpri;
|
||||
kp2p->p_usrpri = kl[0].l_priority;
|
||||
kp2p->p_nice = kp->kp_proc.p_nice;
|
||||
|
||||
kp2p->p_xstat = kp->kp_proc.p_xstat;
|
||||
@ -825,7 +825,7 @@ again:
|
||||
kl->l_schedflags = 0; /* XXX */
|
||||
kl->l_holdcnt = l.l_holdcnt;
|
||||
kl->l_priority = l.l_priority;
|
||||
kl->l_usrpri = l.l_usrpri;
|
||||
kl->l_usrpri = l.l_priority;
|
||||
kl->l_stat = l.l_stat;
|
||||
kl->l_wchan = PTRTOUINT64(l.l_wchan);
|
||||
if (l.l_wmesg)
|
||||
|
Loading…
Reference in New Issue
Block a user