lkml.org 
[lkml]   [2018]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86/fpu: Disable BH while while loading FPU registers in __fpu__restore_sig()
On 2018-11-19 07:04:35 [-0800], Dave Hansen wrote:
>
> Does the local_bh_disable() itself survive?

Not in __fpu__restore_sig(). I do have:
| static inline void __fpregs_changes_begin(void)
| {
| preempt_disable();
| local_bh_disable();
| }

and __fpregs_changes_begin() is introduced as part of the series.

Sebastian

\
 
 \ /
  Last update: 2018-11-19 16:07    [W:0.062 / U:1.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site