aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/mptable.h
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-11-27 12:32:27 +0000
committerBruce Evans <bde@FreeBSD.org>1999-11-27 12:32:27 +0000
commit8a9d4d98b174c92c050fb4b4d3f54a4edc631291 (patch)
tree861f2dd56cc0d1946e260aed5bded201ae935ae7 /sys/amd64/include/mptable.h
parent4e9b463ccfca58b1365abb20fa3fec21ecc9c255 (diff)
Notes
Diffstat (limited to 'sys/amd64/include/mptable.h')
-rw-r--r--sys/amd64/include/mptable.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/sys/amd64/include/mptable.h b/sys/amd64/include/mptable.h
index d1019733b41b..b565ceee45e9 100644
--- a/sys/amd64/include/mptable.h
+++ b/sys/amd64/include/mptable.h
@@ -2323,14 +2323,7 @@ forwarded_statclock(int id, int pscnt, int *astmap)
cp_time[CP_INTR]++;
}
if (p != NULL) {
- p->p_cpticks++;
- if (++p->p_estcpu == 0)
- p->p_estcpu--;
- if ((p->p_estcpu & 3) == 0) {
- resetpriority(p);
- if (p->p_priority >= PUSER)
- p->p_priority = p->p_usrpri;
- }
+ schedclock(p);
/* Update resource usage integrals and maximums. */
if ((pstats = p->p_stats) != NULL &&