Re: Updated rusage patch
- From: Bruce Evans <brde@xxxxxxxxxxxxxxx>
- Date: Thu, 31 May 2007 11:11:31 +1000 (EST)
On Wed, 30 May 2007, Julian Elischer wrote:
Bruce Evans wrote:^^^^^^^^^^^^^^^^^^^^^^^
- RELENG_4: statclock() uses splhigh() but not interrupt atomicity.
exit1() uses no locking and thus races with statclock().
above: statclock() still uses sched_lock but not interrupt atomicity.
sched_lock blocks interrupts
exit1() uses no locking and thus races with statclock().
exit1() uses no locking and is thus unaffected by sched_lock. More
precisely, it uses mounds of locking, but at the point that it races
with statclock() it holds only PROC_LOCK(p). It acquires sched_lock
for the first time much later.
Bruce
_______________________________________________
freebsd-arch@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@xxxxxxxxxxx"
- References:
- rusage breakdown and cpu limits.
- From: Jeff Roberson
- Re: rusage breakdown and cpu limits.
- From: John Baldwin
- Re: rusage breakdown and cpu limits.
- From: Jeff Roberson
- Re: rusage breakdown and cpu limits.
- From: Bruce Evans
- Re: rusage breakdown and cpu limits.
- From: Jeff Roberson
- Re: rusage breakdown and cpu limits.
- From: Bruce Evans
- Re: rusage breakdown and cpu limits.
- From: Jeff Roberson
- Updated rusage patch
- From: Jeff Roberson
- Re: Updated rusage patch
- From: Bruce Evans
- Re: Updated rusage patch
- From: Jeff Roberson
- Re: Updated rusage patch
- From: Bruce Evans
- Re: Updated rusage patch
- From: Julian Elischer
- rusage breakdown and cpu limits.
- Prev by Date: Re: Updated rusage patch
- Next by Date: Re: Updated rusage patch
- Previous by thread: Re: Updated rusage patch
- Next by thread: Re: Updated rusage patch
- Index(es):
Relevant Pages
|
|