Re: [PATCH] efi: Disable interrupts around EFI calls, not in the epilog/prolog calls
From: Matt Fleming
Date: Tue Mar 10 2015 - 09:36:26 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/