mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Don't use vm_object_set_flag() to initialize the vm object's flags.
This commit is contained in:
parent
87ddbe28e8
commit
3471677cc9
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ _vm_object_allocate(objtype_t type, vm_pindex_t size, vm_object_t object)
|
|||
object->ref_count = 1;
|
||||
object->flags = 0;
|
||||
if ((object->type == OBJT_DEFAULT) || (object->type == OBJT_SWAP))
|
||||
vm_object_set_flag(object, OBJ_ONEMAPPING);
|
||||
object->flags = OBJ_ONEMAPPING;
|
||||
if (size > (PQ_L2_SIZE / 3 + PQ_PRIME1))
|
||||
incr = PQ_L2_SIZE / 3 + PQ_PRIME1;
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue