Re: [PATCH v2 1/3] efi: use a file local lock for efivars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Jul, at 04:59:23PM, Ard Biesheuvel wrote:
> From: Sylvain Chouleur <sylvain.chouleur@xxxxxxxxx>
> 
> This patch replaces the spinlock in the efivars struct with a single lock
> for the whole vars.c file.  The goal of this lock is to protect concurrent
> calls to efi variable services, registering and unregistering. This allows
> us to register new efivars operations without having in-progress call.
> 
> Signed-off-by: Sylvain Chouleur <sylvain.chouleur@xxxxxxxxx>
> [ardb: rebased onto v4.7-rc3]
> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx>
> ---
>  drivers/firmware/efi/vars.c | 83 +++++++++++---------
>  include/linux/efi.h         |  6 --
>  2 files changed, 47 insertions(+), 42 deletions(-)

Thanks Ard, applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-efi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux