Alan Cox 56e66ce802 Ordinarily, during a superpage promotion or demotion within a pmap, the
pmap's lock ensures that other operations on the pmap don't observe the
old mapping being broken before the new mapping is established.  However,
pmap_kextract() doesn't acquire the kernel pmap's lock, so it may observe
the broken mapping.  And, if it does, it returns an incorrect result.

This revision implements a lock-free solution to this problem in
pmap_update_entry() and pmap_kextract() because pmap_kextract() can't
acquire the kernel pmap's lock.

Reported by:	andrew, greg_unrelenting.technology
Reviewed by:	andrew, markj
Tested by:	greg_unrelenting.technology
X-MFC with:	r350579
Differential Revision:	https://reviews.freebsd.org/D21169
2019-08-08 06:26:34 +00:00
..
2018-05-28 21:05:00 +00:00
2019-07-20 14:29:11 +00:00
2019-07-20 14:29:11 +00:00
2017-06-27 16:30:01 +00:00
2019-01-13 19:49:46 +00:00
2018-05-23 15:43:35 +00:00
2019-01-13 19:49:46 +00:00
2019-01-13 19:49:46 +00:00