cperciva 1b29205c00 Add hamfisted locking to the Xen/PV pmap code: Only allow one thread to
be in {pmap_pinit, pmap_copy, pmap_release} at a time.

This reduces the rate of panics when running 'make index' from ~0.6/hour
to ~0.02/hour (p < 10^-30).

At a later date this locking will be removed, and for this reason, it is
wrapped in #ifdef HAMFISTED_LOCKING; this temporary hack is being put in
place with the intention of shipping somewhat-stable Xen bits in FreeBSD
8.2-RELEASE.

PR:		kern/153672
MFC after:	3 days
2011-01-04 15:55:15 +00:00
..
2011-01-03 12:57:07 +00:00
2010-11-27 15:41:44 +00:00
2011-01-02 15:06:07 +00:00
2010-11-09 10:59:09 +00:00
2010-12-31 18:07:16 +00:00
2010-12-05 10:15:23 +00:00