Fork and clone_flags
I am taking an operating systems course and one of our assignments is to implement a version of fork system call that does not keep copy on write, but instead just copies all the page info immediately. We have been told that this is possible without modifying do_fork or copy_process and instead just calling do_fork with certain flags set. I do not see how this is possible, so I just want to know if this is indeed possible to implement with just setting clone flags. Thanks in advance!