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

Commit 2e0faba3 authored by Liam Mark's avatar Liam Mark Committed by Swathi Sridhar
Browse files

mm, oom: rate limit oom reaper logging



The oom reaper logging is sometimes flooding the logs and causing a
watchdog timeout, so rate limit the oom reaper logging.

Change-Id: Ic4ddf2d6273839e43501f08f51b1c6406d7cc4d2
Signed-off-by: default avatarLiam Mark <lmark@codeaurora.org>
parent 13aeef14
Loading
Loading
Loading
Loading
+17 −17
Original line number Diff line number Diff line
@@ -1176,7 +1176,7 @@ void dump_killed_info(struct task_struct *selected)
{
	int selected_tasksize = get_mm_rss(selected->mm);

	pr_info("Killing '%s' (%d), adj %hd,\n"
	pr_info_ratelimited("Killing '%s' (%d), adj %hd,\n"
			"   to free %ldkB on behalf of '%s' (%d)\n"
			"   Free CMA is %ldkB\n"
			"   Total reserve is %ldkB\n"