Date: Wed, 26 May 2004 05:06:52 -0700 (PDT) From: Thomas Moestl <tmm@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include pcpu.h src/sys/sparc64/sparc64 genassym.c pmap.c swtch.S vm_machdep.c Message-ID: <200405261206.i4QC6qR9030327@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
tmm 2004/05/26 05:06:52 PDT
FreeBSD src repository
Modified files:
sys/sparc64/include pcpu.h
sys/sparc64/sparc64 genassym.c pmap.c swtch.S vm_machdep.c
Log:
Move the per-CPU vmspace pointer fixup that is required before a
struct vmspace is freed from cpu_sched_exit() to pmap_release().
This has the advantage of being able to rely on MI code to decide
when a free should occur, instead of having to inspect the reference
count ourselves.
At the same time, turn the per-CPU vmspace pointer into a pmap pointer,
so that pmap_release() can deal with pmaps exclusively.
Reviewed (and embrassing bug spotted) by: jake
Revision Changes Path
1.19 +2 -2 src/sys/sparc64/include/pcpu.h
1.55 +1 -1 src/sys/sparc64/sparc64/genassym.c
1.133 +22 -1 src/sys/sparc64/sparc64/pmap.c
1.33 +16 -15 src/sys/sparc64/sparc64/swtch.S
1.64 +0 -17 src/sys/sparc64/sparc64/vm_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200405261206.i4QC6qR9030327>
