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

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

Merge "mm: don't throttle ULMK on direct reclaim"

parents 6ffbb5b0 a3d4997c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3206,7 +3206,7 @@ static bool throttle_direct_reclaim(gfp_t gfp_mask, struct zonelist *zonelist,
	 * committing a transaction where throttling it could forcing other
	 * processes to block on log_wait_commit().
	 */
	if (current->flags & PF_KTHREAD)
	if ((current->flags & PF_KTHREAD) || !strcmp(current->comm, ULMK_MAGIC))
		goto out;

	/*