Eliminate an unnecessary test from vm_fault's delete-behind heuristic.
Specifically, since the delete-behind heuristic is never applied to a device-backed object, there is no point in checking whether each of the object's pages is fictitious. (Only device-backed objects have fictitious pages.)
This commit is contained in:
parent
6bb1c81980
commit
160b9af7de
@ -508,7 +508,7 @@ readrest:
|
||||
break;
|
||||
if (mt->busy ||
|
||||
(mt->oflags & VPO_BUSY) ||
|
||||
(mt->flags & (PG_FICTITIOUS | PG_UNMANAGED)) ||
|
||||
(mt->flags & PG_UNMANAGED) ||
|
||||
mt->hold_count ||
|
||||
mt->wire_count)
|
||||
continue;
|
||||
|
Loading…
x
Reference in New Issue
Block a user