Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit feeb6c80 authored by Charan Teja Reddy's avatar Charan Teja Reddy Committed by Gerrit - the friendly Code Review server
Browse files

mm: ignore the boosting of watermark under lowmemory



When low on free memory and a fragmentation event at the same time
will cause the zone watermarks to be offsetted by watermark_boost
which in default is 150% of high watermark. The side effects of this
is the time taken by the reclaim to reach that level and thus the
subsequent reset of the watermark_boost can be higher and hence
killing of the FG tasks can happen in that time frame despite
the free memory is above zone->_watermark[WMARK_HIGH]. Ignore
boosting of watermark under this condition and thus we can create
more memory headroom.

Change-Id: Ia1fa5d766eee851ad3456f41b4b2d623cf4eeee3
Signed-off-by: default avatarCharan Teja Reddy <charante@codeaurora.org>
parent 4b832ee1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment