mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge branch 'urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/writeback
* 'urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/wfg/writeback: squeeze max-pause area and drop pass-good area
This commit is contained in:
commit
e33f2d238e
2 changed files with 2 additions and 24 deletions
|
|
@ -12,15 +12,6 @@
|
|||
*
|
||||
* (thresh - thresh/DIRTY_FULL_SCOPE, thresh)
|
||||
*
|
||||
* The 1/16 region above the global dirty limit will be put to maximum pauses:
|
||||
*
|
||||
* (limit, limit + limit/DIRTY_MAXPAUSE_AREA)
|
||||
*
|
||||
* The 1/16 region above the max-pause region, dirty exceeded bdi's will be put
|
||||
* to loops:
|
||||
*
|
||||
* (limit + limit/DIRTY_MAXPAUSE_AREA, limit + limit/DIRTY_PASSGOOD_AREA)
|
||||
*
|
||||
* Further beyond, all dirtier tasks will enter a loop waiting (possibly long
|
||||
* time) for the dirty pages to drop, unless written enough pages.
|
||||
*
|
||||
|
|
@ -31,8 +22,6 @@
|
|||
*/
|
||||
#define DIRTY_SCOPE 8
|
||||
#define DIRTY_FULL_SCOPE (DIRTY_SCOPE / 2)
|
||||
#define DIRTY_MAXPAUSE_AREA 16
|
||||
#define DIRTY_PASSGOOD_AREA 8
|
||||
|
||||
/*
|
||||
* 4MB minimal write chunk size
|
||||
|
|
|
|||
Loading…
Reference in a new issue