Eliminate an unnecessary clearing of a page's dirty bits in
phys_pager_getpages().
This commit is contained in:
parent
47f11d9a46
commit
53f55a430f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=194126
@ -149,7 +149,8 @@ phys_pager_getpages(vm_object_t object, vm_page_t *m, int count, int reqpage)
|
||||
}
|
||||
KASSERT(m[i]->valid == VM_PAGE_BITS_ALL,
|
||||
("phys_pager_getpages: partially valid page %p", m[i]));
|
||||
m[i]->dirty = 0;
|
||||
KASSERT(m[i]->dirty == 0,
|
||||
("phys_pager_getpages: dirty page %p", m[i]));
|
||||
/* The requested page must remain busy, the others not. */
|
||||
if (reqpage != i) {
|
||||
m[i]->oflags &= ~VPO_BUSY;
|
||||
|
Loading…
Reference in New Issue
Block a user