Suspend-to-RAM and dirty page cache
Hi,
in a nutshell: I sometimes find dirty pages in the output of /proc/meminfo immediately after resuming. That bothers me. Because if theses pages were left dirty during the suspended period, a powercut may lead to file system inconsistencies and what not. Question: is there reason for concern, or have these dirty pages been created after the resume event? Details: Slackware current, XFCE4 with cairo dock, no swap device. Even an explicit sync and sleep before the suspend action seems not to change the observation of dirty pages. Currently the suspend action is triggered by the following script: Code:
#!/bin/bash |
Update: when monitoring the dirty pages via
Code:
while sleep 0 ; do cat /proc/meminfo | grep Dirty ; done |
All times are GMT -5. The time now is 07:44 PM. |