Page MenuHomeFreeBSD

vm_object: Assert that managed pages are on pagequeues when freeing
AcceptedPublic

Authored by markj on Fri, Oct 4, 3:08 PM.
Tags
None
Referenced Files
F98834473: D46945.diff
Fri, Oct 4, 10:15 PM
F98834439: D46945.id.diff
Fri, Oct 4, 10:15 PM
F98834435: D46945.id144252.diff
Fri, Oct 4, 10:15 PM
Subscribers

Details

Reviewers
alc
kib
dougm

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 59759
Build 56645: arc lint + arc unit

Event Timeline

markj requested review of this revision.Fri, Oct 4, 3:08 PM
This revision is now accepted and ready to land.Fri, Oct 4, 6:17 PM

Consider vm_page_grab_valid(). It allocates a page, and tries to read the page' content from pager. If the pager failed, the page is freed. I do not believe that the freed invalid page is enqueued there.