diff options
author | attilio <attilio@FreeBSD.org> | 2007-06-10 21:59:14 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2007-06-10 21:59:14 +0000 |
commit | e9fc4edc4441a4cdc380539f97a90207de0cd092 (patch) | |
tree | 5076d8c3c653c4deb666bc72dcf20bf604e5fb6e /sys/amd64/ia32/ia32_syscall.c | |
parent | 445024c7ff4986844b8675e79a722921503413dc (diff) | |
download | FreeBSD-src-e9fc4edc4441a4cdc380539f97a90207de0cd092.zip FreeBSD-src-e9fc4edc4441a4cdc380539f97a90207de0cd092.tar.gz |
Optimize vmmeter locking.
In particular:
- Add an explicative table for locking of struct vmmeter members
- Apply new rules for some of those members
- Remove some unuseful comments
Heavily reviewed by: alc, bde, jeff
Approved by: jeff (mentor)
Diffstat (limited to 'sys/amd64/ia32/ia32_syscall.c')
-rw-r--r-- | sys/amd64/ia32/ia32_syscall.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/amd64/ia32/ia32_syscall.c b/sys/amd64/ia32/ia32_syscall.c index 40ec2e6..4807248 100644 --- a/sys/amd64/ia32/ia32_syscall.c +++ b/sys/amd64/ia32/ia32_syscall.c @@ -104,12 +104,7 @@ ia32_syscall(struct trapframe *frame) u_int code; ksiginfo_t ksi; - /* - * note: PCPU_INC() can only be used if we can afford - * occassional inaccuracy in the count. - */ PCPU_INC(cnt.v_syscall); - td->td_pticks = 0; td->td_frame = frame; if (td->td_ucred != p->p_ucred) |