642 views

1 Answer

Best answer
8 votes
8 votes

All threads of a process share the same page table. The point of having threads is to be able to have multiple tasks operating on the same memory. Threads are supposed to be fast, so there would be a lot of overhead if the entire page table had to be copied whenever a thread was created. We also want context switching to be fast, so we want to avoid having to switch between page tables when a different thread starts to execute

So it doesn't matter how many threads a process has, there will be only one page table. Thus, Ans: 3 Page tables.

Ref: http://web.cs.ucla.edu/classes/winter12/cs111/scribe/15e/

selected by

Related questions

0 votes
0 votes
0 answers
1
0 votes
0 votes
1 answer
2
turnthetables asked Apr 13, 2016
911 views
With first list over at around 200 OBC for IISC CSA, what are the chances for 332 OBC in further lists?
1 votes
1 votes
3 answers
3
1 votes
1 votes
0 answers
4
Sayan Bose asked Oct 25, 2018
2,492 views