(also dirty flag)
A dirty bit represents a solitary binary digit employed by computing systems to monitor whether a distinct data unit, like a cache line or a memory page, has undergone modifications since its most recent save. If the data undergoes alterations, the dirty bit switches to 1, signifying that the data necessitates being written back to the storage medium to preserve consistency. Should the dirty bit stay at 0, it indicates that the data remains unaltered and does not call for an update within the storage device.
See also: memory allocation
A clean bit is the opposite of a dirty bit, representing that the data has not been modified since it was last saved. While a dirty bit is set to 1, a clean bit is set to 0.
We value your privacy