summaryrefslogtreecommitdiff
path: root/libutils/ProcessCallStack_fuzz.cpp
diff options
context:
space:
mode:
authorCharan Teja Reddy <charante@codeaurora.org>2019-10-24 14:13:56 +0530
committerCharan Teja Reddy <charante@codeaurora.org>2020-01-29 18:37:51 +0530
commit36c3e65464b24ce4ae5f80ad7cf18a2c24f7d740 (patch)
tree9a5f709b6ce22a4c5a7f0133fd6d71c184d14f45 /libutils/ProcessCallStack_fuzz.cpp
parenteae45d25367cd14cbe0b3ed92235b6f48c0afad5 (diff)
lmkd: Add adaptiveness for ulmk
Current implementation is in such a way that when we have higher file cache levels and a psi_medium/crit event is raised, these events are forced to ignore. The side effects of this is that to get free memory system is now forced to always reclaim this page cache thus leads to thrashing, slowness of the system response e.t.c. Instead killing of tasks could be helpful in such situations. It is this logic to force kill a task vs reclaim the memory is the adaptiveness to ULMK. We rely on PSI_FULL = 80msec event which we call it as a super critical event and in such scenario adjust adj of the task that was selected by medium or critical events. And incase of just critical event, adjust the adj based on the min_free levels, availbility of free and cache memory levels. CRs-Fixed: 2590129 Change-Id: I0d7fc88657a6294aaa81ab80410c021140b23d30
Diffstat (limited to 'libutils/ProcessCallStack_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions