Find which pages are no longer shared with copy-on-write
问题 Say I have a process in Linux from which I fork() another identical process. After fork ing, as the original process will start writing to memory, the Linux copy-on-write mechanism will give the process unique physical memory pages which are different from the one used by the forked process. How can I, at some point of execution, know which pages of the original process have been copied-on-write? I don't want to use SIGSEGV signal handler and give read only access to all the pages in the