cvs commit: src/sys/kern kern_kse.c kern_switch.c kern_synch.c
sched_4bsd.c sched_ule.c subr_prof.c subr_trap.c src/sys/sys
proc.h resourcevar.h
John Baldwin
jhb at FreeBSD.org
Fri Jul 16 14:04:56 PDT 2004
jhb 2004-07-16 21:04:55 UTC
FreeBSD src repository
Modified files:
sys/kern kern_kse.c kern_switch.c kern_synch.c
sched_4bsd.c sched_ule.c subr_prof.c
subr_trap.c
sys/sys proc.h resourcevar.h
Log:
- Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflags
since they are only accessed by curthread and thus do not need any
locking.
- Move pr_addr and pr_ticks out of struct uprof (which is per-process)
and directly into struct thread as td_profil_addr and td_profil_ticks
as these variables are really per-thread. (They are used to defer an
addupc_intr() that was too "hard" until ast()).
Revision Changes Path
1.185 +4 -5 src/sys/kern/kern_kse.c
1.71 +6 -3 src/sys/kern/kern_switch.c
1.254 +2 -1 src/sys/kern/kern_synch.c
1.45 +2 -1 src/sys/kern/sched_4bsd.c
1.116 +2 -1 src/sys/kern/sched_ule.c
1.74 +4 -3 src/sys/kern/subr_prof.c
1.269 +5 -5 src/sys/kern/subr_trap.c
1.387 +6 -3 src/sys/sys/proc.h
1.43 +0 -2 src/sys/sys/resourcevar.h
More information about the cvs-all
mailing list