mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
[PATCH] rename wakeup_bdflush to wakeup_pdflush
Signed-off-by: Pekka Enberg <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
05133fc498
commit
687a21cee1
4 changed files with 5 additions and 5 deletions
|
|
@ -354,7 +354,7 @@ static void background_writeout(unsigned long _min_pages)
|
|||
* the whole world. Returns 0 if a pdflush thread was dispatched. Returns
|
||||
* -1 if all pdflush threads were busy.
|
||||
*/
|
||||
int wakeup_bdflush(long nr_pages)
|
||||
int wakeup_pdflush(long nr_pages)
|
||||
{
|
||||
if (nr_pages == 0) {
|
||||
struct writeback_state wbs;
|
||||
|
|
|
|||
|
|
@ -972,7 +972,7 @@ int try_to_free_pages(struct zone **zones, unsigned int gfp_mask)
|
|||
* writeout. So in laptop mode, write out the whole world.
|
||||
*/
|
||||
if (total_scanned > sc.swap_cluster_max + sc.swap_cluster_max/2) {
|
||||
wakeup_bdflush(laptop_mode ? 0 : total_scanned);
|
||||
wakeup_pdflush(laptop_mode ? 0 : total_scanned);
|
||||
sc.may_writepage = 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue