1,513 views
0 votes
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 votes
1 votes
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

Related questions

0 votes
0 votes
0 answers
1
Pawan Kumar 2 asked Dec 14, 2017
659 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 votes
2 votes
1 answer
2
Aspi R Osa asked Jan 17, 2016
6,956 views
Please clarify the difference between the DIRTY BIT and the VALID BIT in virtual memory?