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

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

Merge "mm: oom: update ulmk_kill_jiffies from oom context kill"

parents 163f5589 8e0edd5e
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1157,6 +1157,12 @@ static void oom_kill_process(struct oom_control *oc, const char *message,
	 */
	oom_group = mem_cgroup_get_oom_group(victim, oc->memcg);

	/*
	 * If ->only_positive_adj = true in oom context,
	 * consider them as kill from ulmk.
	 */
	if (oc->only_positive_adj)
		ulmk_update_last_kill();
	__oom_kill_process(victim);

	/*