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

Commit 632448f6 authored by Heiko Carstens's avatar Heiko Carstens Committed by Martin Schwidefsky
Browse files

[S390] ftrace: disable tracing on idle psw



Disable tracing on idle psw. Otherwise it would give us huge
preempt off times for idle. Which is rather pointless.

Signed-off-by: default avatarHeiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
parent af4c6874
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -136,9 +136,12 @@ static void default_idle(void)
		return;
	}
	trace_hardirqs_on();
	/* Don't trace preempt off for idle. */
	stop_critical_timings();
	/* Wait for external, I/O or machine check interrupt. */
	__load_psw_mask(psw_kernel_bits | PSW_MASK_WAIT |
			PSW_MASK_IO | PSW_MASK_EXT);
	start_critical_timings();
}

void cpu_idle(void)