An invalid page can't be dirty.
Reviewed by: kib MFC after: 1 week
This commit is contained in:
parent
c642d2f5b5
commit
6921451dab
@ -355,7 +355,7 @@ sendfile_swapin(vm_object_t obj, struct sf_io *sfio, off_t off, off_t len,
|
||||
&a)) {
|
||||
pmap_zero_page(pa[i]);
|
||||
pa[i]->valid = VM_PAGE_BITS_ALL;
|
||||
pa[i]->dirty = 0;
|
||||
MPASS(pa[i]->dirty == 0);
|
||||
vm_page_xunbusy(pa[i]);
|
||||
i++;
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user