]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In a multiprocessor, the PG_W bit in the pte must be changed atomically.
authoralc <alc@FreeBSD.org>
Sat, 12 Jun 2004 20:01:48 +0000 (20:01 +0000)
committeralc <alc@FreeBSD.org>
Sat, 12 Jun 2004 20:01:48 +0000 (20:01 +0000)
commitf6af690bdeb2e55a1bdabd5af91a8a601955e892
tree2932c2aa045737086a3494b92d63233e95fbc8c1
parenta1214ecb7b3a5536b459a68adb96489226a904ad
In a multiprocessor, the PG_W bit in the pte must be changed atomically.
Otherwise, the setting of the PG_M bit by one processor could be lost if
another processor is simultaneously changing the PG_W bit.

Reviewed by: tegge@
sys/amd64/amd64/pmap.c
sys/i386/i386/pmap.c