Red Hat Bugzilla – Bug 169992
LTC18779-Lost dirty bit in kernel memory managment [PATCH]
Last modified: 2007-11-30 17:07:08 EST
Escalated to Bugzilla from IssueTracker
Created attachment 119661 [details]
Symptom: Data corruption under memory pressure.
Problem: The hardware dirty bit is cleared every time SetPageUptodate is
called. The common memory management code calls the function even if the page
already is up to date. In this case the dirty bit may not be cleared because the
page is potentially mapped writable in some user process which could have
written to the page since the last writeback.
Solution: Add a check to arch_set_page_uptodate to skip the clearing of
dirty bit, if the page is already up to date.
Created an attachment (id=12671)
This patch should go into the next update (U7) since it fixes a potential data
Created attachment 120565 [details]
Once again mirroring did ignore an attachment...
A fix for this problem has just been committed to the RHEL3 U7
patch pool this evening (in kernel version 2.4.21-37.10.EL).
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.