[PATCH] arm64: annotate irq off before schedule

Catalin Marinas catalin.marinas at arm.com
Wed Dec 9 02:55:01 PST 2015


On Wed, Dec 09, 2015 at 03:23:49PM +0800, Ming Lei wrote:
> diff --git a/arch/arm64/kernel/entry.S b/arch/arm64/kernel/entry.S
> index 7ed3d75..4769190 100644
> --- a/arch/arm64/kernel/entry.S
> +++ b/arch/arm64/kernel/entry.S
> @@ -634,6 +634,9 @@ work_pending:
>  	bl	do_notify_resume
>  	b	ret_to_user
>  work_resched:
> +#ifdef CONFIG_TRACE_IRQFLAGS
> +	bl	trace_hardirqs_off
> +#endif
>  	bl	schedule

I think Will already queued a similar patch, though he hasn't pushed it
out yet.

-- 
Catalin



More information about the linux-arm-kernel mailing list