lkml.org 
[lkml]   [2015]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] efi: Disable interrupts around EFI calls, not in the epilog/prolog calls
On Tue, 03 Mar, at 07:34:33AM, Ingo Molnar wrote:
>
> So why are interrupts disabled around page table operations to begin
> with? It's not like any of this can execute on two CPUs at once, nor
> can this be executed from interrupt context.
>
> So, shouldn't we only protect the EFI calls themselves? If we did that
> we could save the efi_flags global variable ugliness as well.
>
> I.e. something like the attached patch. (not tested and all that)

Looks good to me Ingo. I'll run it through the test farm. Thanks!

--
Matt Fleming, Intel Open Source Technology Center


\
 
 \ /
  Last update: 2015-03-10 14:41    [W:0.073 / U:0.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site