Re: [RFC][PATCH 3/7] efivars: New efivar_entry API

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

 



On Fri, 2013-02-08 at 23:22 +0000, Seiji Aguchi wrote:
> When I talked about query_variable_info() with Tony, 
> Matthew commented as follows.
> 
> http://marc.info/?l=linux-kernel&m=134305325801789&w=2
> 
> <snip>
> Running out of space in EFI isn't a well-tested scenario, and I wouldn't 
> expect all firmware to handle it gracefully. This is made worse by EFI 1 
> not providing any information about available storage.
> <snip>
> 
> I'm just concerned that set_variable() may run in the  out of space situation 
> if query_variable_info() and set_variable() are not atomic.

Hmm... OK, I see your point.

I'll add a new function that performs the query_variable_info() and
set_variable() atomically.

-- 
Matt Fleming, Intel Open Source Technology Center

--
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