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

Commit 8be639b1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "mm: reap tasks only killed by low memory killer"

parents 000cfc1e ba60e2b9
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1409,6 +1409,7 @@ int group_send_sig_info(int sig, struct kernel_siginfo *info,
		check_panic_on_foreground_kill(p);
		ret = do_send_sig_info(sig, info, p, type);
		if (capable(CAP_KILL) && sig == SIGKILL)
			if (!strcmp(current->comm, ULMK_MAGIC))
				add_to_oom_reaper(p);
	}