cvs commit: src/sys/sparc64/include pcpu.h src/sys/sparc64/sparc64
genassym.c pmap.c swtch.S vm_machdep.c
Thomas Moestl
tmm at FreeBSD.org
Wed May 26 05:07:23 PDT 2004
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
More information about the cvs-src
mailing list