OSDev.org
https://forum.osdev.org/

Paging: "Dirty flag ... is not updated by the CPU"?
https://forum.osdev.org/viewtopic.php?f=8&t=36765
Page 1 of 1

Author:  alecco [ Sat May 16, 2020 12:56 am ]
Post subject:  Paging: "Dirty flag ... is not updated by the CPU"?

In the Page Table section of the Paging wiki:
Quote:
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?

Author:  nullplan [ Sat May 16, 2020 1:27 am ]
Post subject:  Re: Paging: "Dirty flag ... is not updated by the CPU"?

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.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/