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
671585344e
commit
593e717ec9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=176967
@ -508,7 +508,7 @@ RetryFault:;
|
||||
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…
Reference in New Issue
Block a user