vm: controller: add an auto-detach flag for vm-objects
This commit is contained in:
@@ -198,7 +198,8 @@ kern_status_t vm_controller_create_object(
|
||||
|
||||
object_ref(&ctrl->vc_base);
|
||||
|
||||
vmo->vo_flags |= VMO_CONTROLLER;
|
||||
/* TODO expose the VMO_AUTO_DETACH flag to userspace */
|
||||
vmo->vo_flags |= VMO_CONTROLLER | VMO_AUTO_DETACH;
|
||||
vmo->vo_ctrl = ctrl;
|
||||
vmo->vo_key = key;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user