The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
0 votes
240 views
in Operating System by Active (4k points) | 240 views
0

address space of child and parent process is same only if copy-on-write technique is used, in which child and original process share same address space until one of them perform write operation.

0
Tell me in reference of fork concept .
0
yes, i have told with respect to fork() only,

if copy-on-write is followed then after fork() call, child and process share same address space initially, but if copy-on-write is not allowed, then after fork(), entire process is copied to different location for child process in MM, and hence they both have different address space
0
What is meant by same address space?
0
google for execlp() function, you'll know.

1 Answer

0 votes
I think

Parents process and child process have same virtual address but physical address is different

I have seen one of fork example
by Active (4.2k points)

Related questions

0 votes
1 answer
3
0 votes
2 answers
6
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
49,830 questions
54,807 answers
189,530 comments
80,836 users