forked from CyanogenMod/android_kernel_samsung_t1
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mm: Dynamic management of dirty page writebacks
This feature allows to have two different intervals for dirty page writebacks and to dynamically manage them when the system has been resumed (it's active) or when has been suspended. Three new procfs parameters are exposed inside /proc/sys/vm path: - "dynamic_dirty_writeback" is the activation status of this feature, set 1 to enable it, set 0 to disable it and use the standard behaviour - "dirty_writeback_active_centisecs" is the interval for the dirty page writebacks when the system is active (screen on) - "dirty_writeback_suspend_centisecs" is the interval for the dirty page writebacks when the system is suspended (screen off) This feature is in part inspired on Francisco Franco's patch: franciscofranco/mako@34d7954 Signed-off-by: Cristoforo Cataldo <cristoforo.cataldo@gmail.com>
- Loading branch information
1 parent
e9bdc79
commit 6faac13
Showing
4 changed files
with
176 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters