Previously, when pmap_remove_pages() destroyed a dirty superpage mapping,
it only called vm_page_dirty() on the first of the superpage's constituent 4KB pages. This revision corrects that error, calling vm_page_dirty() on all of superpage's constituent 4KB pages. MFC after: 3 days
This commit is contained in:
parent
35c12dd688
commit
3b97569c31
@ -4067,7 +4067,7 @@ pmap_remove_pages(pmap_t pmap)
|
||||
switch (lvl) {
|
||||
case 1:
|
||||
for (mt = m; mt < &m[L2_SIZE / PAGE_SIZE]; mt++)
|
||||
vm_page_dirty(m);
|
||||
vm_page_dirty(mt);
|
||||
break;
|
||||
case 2:
|
||||
vm_page_dirty(m);
|
||||
|
Loading…
Reference in New Issue
Block a user