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

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

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

parents 078de922 eba0983e
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1223,6 +1223,10 @@ void pagefault_out_of_memory(void)
		.order = 0,
	};

	if (IS_ENABLED(CONFIG_HAVE_LOW_MEMORY_KILLER) ||
	    IS_ENABLED(CONFIG_HAVE_USERSPACE_LOW_MEMORY_KILLER))
		return;

	if (mem_cgroup_oom_synchronize(true))
		return;