mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 19:22:47 +00:00
pmap_clear_modify() needs to clear PTE_W.
MFC after: 1 week Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
24074d28ec
commit
1fd21cb005
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=350003
@ -4187,7 +4187,7 @@ restart:
|
||||
m));
|
||||
l3 = pmap_l2_to_l3(l2, pv->pv_va);
|
||||
if ((pmap_load(l3) & (PTE_D | PTE_W)) == (PTE_D | PTE_W)) {
|
||||
pmap_clear_bits(l3, PTE_D);
|
||||
pmap_clear_bits(l3, PTE_D | PTE_W);
|
||||
pmap_invalidate_page(pmap, pv->pv_va);
|
||||
}
|
||||
PMAP_UNLOCK(pmap);
|
||||
|
Loading…
Reference in New Issue
Block a user