per allocated vm_object. Otherwise, since constructors are not idempotent, we e.g. leak device reference in case of non-managed pager.
PR: 278826
Differential D45113
cdev_pager_allocate(): ensure that the cdev_pager_ops ctr is called only once kib on May 7 2024, 1:27 PM. Authored by Tags None Referenced Files
Details per allocated vm_object. Otherwise, since constructors are not idempotent, we e.g. leak device reference in case of non-managed pager. PR: 278826
Diff Detail
Event Timeline
Comment Actions Use vm_object_deallocate() instead of _terminate() on cleanup path.
Comment Actions Reduce scope for object1 and color variables.
|