Date: Sun, 15 Aug 2004 20:54:25 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha pmap.c Message-ID: <200408152054.i7FKsP3O012237@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2004-08-15 20:54:25 UTC
FreeBSD src repository
Modified files:
sys/alpha/alpha pmap.c
Log:
- Make pmap_emulate_reference() MP and preemption safe. Previously, it
contained "sanity" checks that could be violated if another CPU modified
the pmap between the emulation trap and locking the pmap in
pmap_emulate_reference(). As a result, the pte could be inconsistent
with the access that caused the emulation trap. In such cases,
pmap_emulate_reference() now flushes the current CPU's TLB entry and
returns.
- Make pmap_changebit() an inline function, reducing object code size.
Revision Changes Path
1.166 +20 -30 src/sys/alpha/alpha/pmap.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408152054.i7FKsP3O012237>
