mockers
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Copy On Write

2 posters

Go down

Copy On Write Empty Copy On Write

Post  mnnit.rahul Tue Feb 03, 2009 3:10 am

what is copy on write and how it is useful

mnnit.rahul

Posts : 51
Join date : 2009-02-01

Back to top Go down

Copy On Write Empty Re: Copy On Write

Post  udita Tue Feb 03, 2009 11:38 pm

current implementations of fork don't perform a complete copy of the parent's data ,stack and heap. As fork is often followed by an exec ,COW is used .
these regions are shared by the parent and the child and have their protection changed by the kernel to read only.if either process tries to modify these regions,the kernel makes the copy of that piece of memory only.

udita

Posts : 11
Join date : 2009-02-01

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum