Date: Tue, 4 Jan 2011 15:55:15 +0000 (UTC) From: Colin Percival <cperciva@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/xen pmap.c Message-ID: <201101041555.p04FtVPB028775@repoman.freebsd.org>
index | next in thread | raw e-mail
cperciva 2011-01-04 15:55:15 UTC
FreeBSD src repository
Modified files:
sys/i386/xen pmap.c
Log:
SVN rev 216960 on 2011-01-04 15:55:15Z by cperciva
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
Revision Changes Path
1.58 +35 -0 src/sys/i386/xen/pmap.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101041555.p04FtVPB028775>
