Date: Tue, 16 Apr 2002 22:26:42 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/vm vm_map.c Message-ID: <200204170526.g3H5Qgh53300@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2002/04/16 22:26:42 PDT
Modified files:
sys/vm vm_map.c
Log:
Do not free the vmspace until p->p_vmspace is set to null. Otherwise
statclock can access it in the tail end of statclock_process() at an
unfortunate time. This bit me several times on an SMP alpha (UP2000)
and the problem went away with this change. I'm not sure why it doesn't
break x86 as well. Maybe it's because the clocks are much faster
on alpha (HZ=1024 by default).
Revision Changes Path
1.222 +7 -3 src/sys/vm/vm_map.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204170526.g3H5Qgh53300>
