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

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

Merge "mm, oom: check LMK enabled for pagefault_out_of_memory()"

parents b7200bc7 94c0e1ab
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1103,6 +1103,9 @@ void pagefault_out_of_memory(void)
		.order = 0,
	};

	if (IS_ENABLED(CONFIG_HAVE_LOW_MEMORY_KILLER))
		return;

	if (mem_cgroup_oom_synchronize(true))
		return;