diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-14 15:19:08 +0300 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2022-10-14 15:19:08 +0300 |
| commit | 0bd3518117ad29ffc91c7967068abc9948cc4885 (patch) | |
| tree | 5560d514e9880c582462da06048e83e21fc4c258 /common/tcb.c | |
| parent | 54df2c4c0a61c03cba268e45e0fd85bf2a7e564b (diff) | |
| download | kmi-0bd3518117ad29ffc91c7967068abc9948cc4885.tar.gz kmi-0bd3518117ad29ffc91c7967068abc9948cc4885.zip | |
remove references to cow
+ Skip cow for now, maybe implement later but try to keep things simple.
Diffstat (limited to 'common/tcb.c')
| -rw-r--r-- | common/tcb.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/tcb.c b/common/tcb.c index 9768eb0..94abef7 100644 --- a/common/tcb.c +++ b/common/tcb.c @@ -170,7 +170,7 @@ struct tcb *create_thread(struct tcb *p) } /** - * Copy process, setting up COW. + * Copy process. * * @param p Parent process. * @param n New process. @@ -178,9 +178,7 @@ struct tcb *create_thread(struct tcb *p) */ static stat_t __copy_proc(struct tcb *p, struct tcb *n) { - /** \todo Copy memory regions, and mark them MR_COW, as well as copy - * bm_branch tree but with VM_W off, also at some point write COW - * handler */ + /** \todo Copy memory regions as well as copy */ return OK; } |
