149 views
0 votes
0 votes
When the process is in memory and executing with PC value = 100

Let virtual memory concept is used when next process is scheduled and main memory doesn't have space so anyone one of the process(pages) should be swapped out to secondary memory.

If currently executing process is victim to move to Secondary storage then in order to preserve its state does OS stores its PCB also in Secondary storage ?? and restore later to MM ??

Please log in or register to answer this question.

Related questions

540
views
1 answers
0 votes
Souvik33 asked Dec 12, 2022
540 views
Can anyone explain how are these two things connected (i) Virtual Memory (part of HDD, acting as RAM) and (ii) Virtual Address Space (Logical Address, generated by CPU during compilation), and where exactly is this Logical Address stored?
1.0k
views
2 answers
1 votes
legacy asked Nov 26, 2022
1,001 views
Suppose that a machine has 42-bit virtual addresses and 32-bit physical addresses.{a} How much RAM can the machine support (each byte of RAM must be ... is the advantage of using a two-level page table over single-level page table?
1.2k
views
1 answers
3 votes
tp21 asked Sep 22, 2019
1,177 views
To calculate EMAT in case of page fault we used:EMAT= page fault rate*(page fault service time) + (1-page fault rate)*(memory access time) ... time. Then why not we consider address translation time in questions involving only pagefault?
763
views
3 answers
1 votes
kman30 asked Jan 19, 2019
763 views
Virtual memory increases context switching overhead ? Why why not ?