mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
mm/page-writeback.c: update stale account_page_redirty() comment
Commit 93f78d8828 ("writeback: move backing_dev_info->bdi_stat[] into
bdi_writeback") replaced BDI_DIRTIED with WB_DIRTIED in
account_page_redirty(). Update comment to track that change.
BDI_DIRTIED => WB_DIRTIED
BDI_WRITTEN => WB_WRITTEN
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Thelen <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
f745c6f5fe
commit
dcfe4df3d5
1 changed files with 2 additions and 2 deletions
|
|
@ -2490,8 +2490,8 @@ EXPORT_SYMBOL(__set_page_dirty_nobuffers);
|
|||
|
||||
/*
|
||||
* Call this whenever redirtying a page, to de-account the dirty counters
|
||||
* (NR_DIRTIED, BDI_DIRTIED, tsk->nr_dirtied), so that they match the written
|
||||
* counters (NR_WRITTEN, BDI_WRITTEN) in long term. The mismatches will lead to
|
||||
* (NR_DIRTIED, WB_DIRTIED, tsk->nr_dirtied), so that they match the written
|
||||
* counters (NR_WRITTEN, WB_WRITTEN) in long term. The mismatches will lead to
|
||||
* systematic errors in balanced_dirty_ratelimit and the dirty pages position
|
||||
* control.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue