Revert "mm: Boost when memory pressure becomes high"

This reverts commit c6f52fcad86f02858fb85fbf84d1eb406a56a8c4.
This commit is contained in:
DhineshCool
2024-05-07 21:42:42 +05:30
parent 6da88c74e1
commit 500c2d309f

View File

@@ -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