2,106 views
0 0 votes
Dirty bit in page table is used for

1.implementing NRU page replacement

2.implementing optimal page replacement

1 Answer

Best answer
1 1 vote
any page replacement algorithm is there ....it must see the dirty bit .....actually pages in CAHCHE or in main memory are copies of actual pages...now say during working....if CPU makes any changes...then such a changes are needed to be reflected in actual copy...so a page may be modified or may not....

HENCE BUT BEFORE SWAP OUT ...ALL ALGOS WILL LOOK OUT FOR DIRTY BIT...so that if dirty bit=1....write the changes in actual copy ...if dirty bit=0...no need of making any change in actual copy ...
• selected by
Position:
Show:

Related questions

0 0 votes
0 0 answers
1.1k
1.1k views
Pawan Kumar 2 asked Dec 14, 2017
1,105 views
doubt 1: "when we select a page for replacement "..... is this page in victim frame ?as soon as victim frame is identified, does its modify bit set ? How it was read fr...
2 2 votes
1 1 answer
8.0k
8.0k views
Aspi R Osa asked Jan 17, 2016
8,043 views
Please clarify the difference between the DIRTY BIT and the VALID BIT in virtual memory?
0 0 votes
1 answers 1 answer
824
824 views
अनुराग पाण्डेय asked Sep 26, 2015
824 views
In a LRU page replacement policy we just replace the least recently used page, without looking at its dirty bit.​However If we also look at the dirty bit of page table en...
2 2 votes
0 0 answers
297
297 views
NullPointer_Pro asked Dec 24, 2025
297 views
A system has a 2-level cache (L1, L2) and Main memory.L1 Hit Time: 1 nsL2 Hit Time: 10 nsMain Memory Access Time: 100 nsL1 Hit Rate: 90%L2 Hit Rate: (Global) 95% (Wait! I...