lkml.org 
[lkml]   [2018]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] arm64: neon: Add preemption protection for kernel_neon_busy
On Mon, Jul 09, 2018 at 04:45:35PM +0800, Yandong.Zhao wrote:
> From: Yandong Zhao <yandong77520@gmail.com>
>
> may_use_simd() can be called in any case and access kernel_neon_busy,
> for example: BUG_ON(!may_use_simd()). This patch ensures that
> migration will not occur during program access to kernel_neon_busy.
>
> Signed-off-by: Yandong Zhao <yandong77520@gmail.com>

(Duplicate patch, see [1] for discussion.)

[...]

Cheers
---Dave

[1] [PATCH] arm64: neon: Do not access kernel_neon_busy with preemption enabled http://lists.infradead.org/pipermail/linux-arm-kernel/2018-July/589259.html

\
 
 \ /
  Last update: 2018-07-09 12:40    [W:0.012 / U:31.048 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site