[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1532661443.10554.5.camel@gmx.de>
Date: Fri, 27 Jul 2018 05:17:23 +0200
From: Mike Galbraith <efault@....de>
To: Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Steven Rostedt <rostedt@...dmis.org>
Cc: Dave Martin <Dave.Martin@....com>, linux-rt-users@...r.kernel.org,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
linux-kernel@...r.kernel.org, tglx@...utronix.de,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH RT v3] arm64: fpsimd: use preemp_disable in addition to
local_bh_disable()
On Thu, 2018-07-26 at 17:06 +0200, Sebastian Andrzej Siewior wrote:
>
> @@ -1115,6 +1139,7 @@ void kernel_neon_begin(void)
>
> BUG_ON(!may_use_simd());
>
> + preempt_disable();
> local_bh_disable();
>
> __this_cpu_write(kernel_neon_busy, true);
> @@ -1131,6 +1156,7 @@ void kernel_neon_begin(void)
> preempt_disable();
Nit: this preempt_disable() could be removed...
> local_bh_enable();
> + preempt_enable();
> }
> EXPORT_SYMBOL(kernel_neon_begin);
...instead of adding this one.
-Mike
Powered by blists - more mailing lists