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

Skip to content
Commit 16eeae2d authored by Mel Gorman's avatar Mel Gorman Committed by alexax66
Browse files

mm: vmscan: If kswapd has been running too long, allow it to sleep


Under constant allocation pressure, kswapd can be in the situation where
sleeping_prematurely() will always return true even if kswapd has been
running a long time. Check if kswapd needs to be scheduled.

Signed-off-by: default avatarMel Gorman <mgorman@suse.de>
Signed-off-by: default avatarPaul Reioux <reioux@gmail.com>

Conflicts:
	mm/vmscan.c

Original commit: https://github.com/UpInTheAir/SM-N920/commit/b93c812a30f8e55c8cdb9fddd9ea953b3818b423
parent 96fb9a48
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