diff options
author | jeff <jeff@FreeBSD.org> | 2003-02-17 02:19:58 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2003-02-17 02:19:58 +0000 |
commit | aa384c931fc62f42246713400c2b6e5b5d446165 (patch) | |
tree | 2a35dbab1876c5ce91132e41356bc345d69fcd07 /sys/amd64 | |
parent | d6241fff35979f7d7518ca96ece7f192829bbf35 (diff) | |
download | FreeBSD-src-aa384c931fc62f42246713400c2b6e5b5d446165.zip FreeBSD-src-aa384c931fc62f42246713400c2b6e5b5d446165.tar.gz |
- Move ke_sticks, ke_iticks, ke_uticks, ke_uu, ke_su, and ke_iu back into
the proc. These counters are only examined through calcru.
Submitted by: davidxu
Tested on: x86, alpha, UP/SMP
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/trap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 54c4af8..2c21983 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -264,7 +264,7 @@ trap(frame) !(PCPU_GET(curpcb)->pcb_flags & PCB_VM86CALL))) { /* user trap */ - sticks = td->td_kse->ke_sticks; + sticks = td->td_sticks; td->td_frame = &frame; if (td->td_ucred != p->p_ucred) cred_update_thread(td); @@ -957,7 +957,7 @@ syscall(frame) KASSERT((td->td_kse != NULL), ("syscall: kse/thread UNLINKED")); KASSERT((td->td_kse->ke_thread == td), ("syscall:kse/thread mismatch")); - sticks = td->td_kse->ke_sticks; + sticks = td->td_sticks; td->td_frame = &frame; if (td->td_ucred != p->p_ucred) cred_update_thread(td); |