diff options
author | Konstantin Khebnikov <khlebnikov@yandex-team.ru> | 2015-02-12 00:26:55 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-02-12 02:06:04 +0100 |
commit | 8d38633c3b4093aca7524945f1e9249d7d3a44da (patch) | |
tree | c2220d43cd690f94dccb8d0f4917199ed5689a9c /include/trace/events/compaction.h | |
parent | mm: fix false-positive warning on exit due mm_nr_pmds(mm) (diff) | |
download | linux-8d38633c3b4093aca7524945f1e9249d7d3a44da.tar.xz linux-8d38633c3b4093aca7524945f1e9249d7d3a44da.zip |
page_writeback: put account_page_redirty() after set_page_dirty()
Helper account_page_redirty() fixes dirty pages counter for redirtied
pages. This patch puts it after dirtying and prevents temporary
underflows of dirtied pages counters on zone/bdi and current->nr_dirtied.
Signed-off-by: Konstantin Khebnikov <khlebnikov@yandex-team.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/trace/events/compaction.h')
0 files changed, 0 insertions, 0 deletions