vm: object: implement creating copy-on-write duplicates of vm-objects

This commit is contained in:
2026-04-01 18:33:24 +01:00
parent 4143e12a29
commit 2cbfa7d7d2
2 changed files with 40 additions and 0 deletions
+3
View File
@@ -84,6 +84,9 @@ extern struct vm_object *vm_object_create_in_place(
size_t data_len,
vm_prot_t prot);
/* create a copy-on-write duplicate of a vm-object */
extern struct vm_object *vm_object_duplicate_cow(struct vm_object *vmo);
extern struct vm_page *vm_object_get_page(
struct vm_object *vo,
off_t offset,