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

Commit b78ea39a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "tracing: Avoid sleep in atomic context"

parents 210606eb 67e3c486
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4678,7 +4678,7 @@ tracing_saved_tgids_read(struct file *file, char __user *ubuf,
	preempt_disable();
	arch_spin_lock(&trace_cmdline_lock);

	pids = kmalloc_array(savedcmd->cmdline_num, 2*sizeof(int), GFP_KERNEL);
	pids = kmalloc_array(savedcmd->cmdline_num, 2*sizeof(int), GFP_ATOMIC);
	if (!pids) {
		arch_spin_unlock(&trace_cmdline_lock);
		preempt_enable();