Changes

19 bytes added ,  09:32, 29 October 2012
no edit summary
Line 15: Line 15:  
  “Complexity is easy; simplicity is difficult. -Georgy Shpagin”
 
  “Complexity is easy; simplicity is difficult. -Georgy Shpagin”
   −
  “Everything should be made as simple as possible, but not more simple”
+
  “Everything should be made as simple as possible, but not more simpler. - Albert Einstein”
   −
All vma-s and their contents are restored before forking children, so here is one more item. A parent can change some pages after forking a child, so such pages should be dropped from the child's vma. For solving this problem bitmaps are used to mark touched pages and madvise() is used to remove extra pages.
+
All VMAs and their contents are restored before forking children, so here is one more item. A parent can change some pages after forking a child, so such pages should be dropped from the child's VMA. For solving this problem bitmaps are used to mark touched pages and madvise() is used to remove extra pages.
    
One more case is not handled now. COW memory are not restored if a process is reparented to init.
 
One more case is not handled now. COW memory are not restored if a process is reparented to init.