Date: Mon, 17 Feb 2003 02:03:03 -0800 (PST) From: "Tim J. Robbins" <tjr@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern init_main.c kern_exit.c kern_time.c src/sys/sys proc.h src/sys/compat/linux linux_misc.c Message-ID: <200302171003.h1HA33qM086096@repoman.freebsd.org>
index | next in thread | raw e-mail
tjr 2003/02/17 02:03:03 PST
Modified files:
sys/kern kern_time.c init_main.c kern_exit.c
sys/sys proc.h
sys/compat/linux linux_misc.c
Log:
Use the proc lock to protect p_realtimer instead of Giant, and obtain
sched_lock around accesses to p_stats->p_timer[] to avoid a potential
race with hardclock. getitimer(), setitimer() and the realitexpire()
callout are now Giant-free.
Revision Changes Path
1.136 +2 -3 src/sys/compat/linux/linux_misc.c
1.227 +1 -1 src/sys/kern/init_main.c
1.196 +1 -1 src/sys/kern/kern_exit.c
1.97 +33 -42 src/sys/kern/kern_time.c
1.298 +1 -1 src/sys/sys/proc.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-src" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302171003.h1HA33qM086096>
