mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
Revert "lowmemorykiller: Introduce sysfs node for ALMK and PPR adj threshold"
- This reverts commit f326985b26c272b4a9bcc250e7cf6af28b7c3398 as it does not meet userspace dependencies. Change-Id: I8aaefeea7cc3dcab1d4a8c94723be238616c9474 Signed-off-by: Cyber Knight <cyberknight755@gmail.com> Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
3863eb9f33
commit
06425a87ef
@ -110,7 +110,6 @@ static unsigned long lowmem_count(struct shrinker *s,
|
||||
bool lmk_kill_possible(void);
|
||||
static atomic_t shift_adj = ATOMIC_INIT(0);
|
||||
static short adj_max_shift = 353;
|
||||
module_param_named(adj_max_shift, adj_max_shift, short, 0644);
|
||||
|
||||
enum {
|
||||
ADAPTIVE_LMK_DISABLED = 0,
|
||||
|
@ -46,9 +46,6 @@ static unsigned long pressure_max = 90;
|
||||
module_param_named(pressure_min, pressure_min, ulong, 0644);
|
||||
module_param_named(pressure_max, pressure_max, ulong, 0644);
|
||||
|
||||
static short min_score_adj = 360;
|
||||
module_param_named(min_score_adj, min_score_adj, short, 0644);
|
||||
|
||||
/*
|
||||
* Scheduling process reclaim workqueue unecessarily
|
||||
* when the reclaim efficiency is low does not make
|
||||
@ -115,6 +112,7 @@ static void swap_fn(struct work_struct *work)
|
||||
int i;
|
||||
int tasksize;
|
||||
int total_sz = 0;
|
||||
short min_score_adj = 360;
|
||||
int total_scan = 0;
|
||||
int total_reclaimed = 0;
|
||||
int nr_to_reclaim;
|
||||
|
Loading…
x
Reference in New Issue
Block a user