Paging: "Dirty flag ... is not updated by the CPU"?

All about the OSDev Wiki. Discussions about the organization and general structure of articles and how to use the wiki. Request changes here if you don't know how to use the wiki.
Post Reply
alecco
Posts: 4
Joined: Sat Jun 08, 2019 4:36 am

Paging: "Dirty flag ... is not updated by the CPU"?

Post by alecco »

In the Page Table section of the Paging wiki:
D, or the Dirty flag, if set, indicates that page has been written to. This flag is not updated by the CPU, and once set will not unset itself.
That sounds wrong or at least confusing. Am I missing something?
nullplan
Member
Member
Posts: 1760
Joined: Wed Aug 30, 2017 8:24 am

Re: Paging: "Dirty flag ... is not updated by the CPU"?

Post by nullplan »

It is not reset by the CPU. It will be set by the CPU, but once set, it will never be reset by it. You have to reset that bit when you need to. Same goes for the access bit, by the way.
Carpe diem!
Post Reply