[PATCH 2/2] efi: implement mandatory locking for UEFI Runtime Services
Matt Fleming
matt at console-pimps.org
Tue Jul 8 02:52:47 PDT 2014
On Tue, 08 Jul, at 11:45:03AM, Ard Biesheuvel wrote:
>
> Well, that is what is says in the comment:
> * ops.get_next_variable() is only called from register_efivars()
> * or efivar_update_sysfs_entries(),
> * which is protected by the BKL, so that path is safe.
Oops, so it does. That's a stale comment. I'll update it.
> I agree. So shall I update my patch to add a single spin_lock that is
> used by all wrappers?
> We will likely need the wrappers on ARM as well, only ia64 needs
> another approach (if desired)
Please do, that would be great!
--
Matt Fleming, Intel Open Source Technology Center
More information about the linux-arm-kernel
mailing list