Module Name: src
Committed By: mrg
Date: Sun Mar 21 22:38:08 UTC 2010
Modified Files:
src/sys/arch/sparc64/sparc64: pmap.c
Log Message:
since pmap_activate/pmap_deactivate need to not block, but the rest of
pmap is OK, add a new IPL_VM pmap_ctx_lock that is held while allocating
or freeing a context, and revert pmap_lock back to IPL_NONE.
i considered a per-cpu context lock, but that would require locking
each active CPUs lock in turn in pmap_remove_all() and pmap_destroy().
thanks to ad for explaining how these parts interact.
To generate a diff of this commit:
cvs rdiff -u -r1.260 -r1.261 src/sys/arch/sparc64/sparc64/pmap.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.