mirror of
https://github.com/Evolution-X-Devices/kernel_google_b1c1
synced 2026-01-27 18:24:29 +00:00
Revert "mm: Boost when memory pressure becomes high"
This reverts commit c6f52fcad86f02858fb85fbf84d1eb406a56a8c4.
This commit is contained in:
@@ -68,8 +68,6 @@
|
||||
#include <linux/show_mem_notifier.h>
|
||||
#include <linux/khugepaged.h>
|
||||
#include <linux/psi.h>
|
||||
#include <linux/cpu_input_boost.h>
|
||||
#include <linux/devfreq_boost.h>
|
||||
|
||||
#include <asm/sections.h>
|
||||
#include <asm/tlbflush.h>
|
||||
@@ -3882,10 +3880,6 @@ retry:
|
||||
did_some_progress > 0, &no_progress_loops))
|
||||
goto retry;
|
||||
|
||||
/* Boost when memory is low so allocation latency doesn't get too bad */
|
||||
cpu_input_boost_kick_max(100);
|
||||
devfreq_boost_kick_max(DEVFREQ_MSM_CPUBW, 100);
|
||||
|
||||
/*
|
||||
* It doesn't make any sense to retry for the compaction if the order-0
|
||||
* reclaim is not able to make any progress because the current
|
||||
|
||||
Reference in New Issue
Block a user