> On Fri, 18 Oct, at 10:30:58PM, Seiji Aguchi wrote:
> > The scanning and deleting logic is still needed. In case an entry(A)
> > is found, the pointer is saved to psi->data. And efi_pstore_read()
> > passes the entry(A) to a pstore filesystem by releasing
> > __efivars->lock.
> >
> > And then, t
On Fri, 18 Oct, at 10:30:58PM, Seiji Aguchi wrote:
> The scanning and deleting logic is still needed. In case an entry(A)
> is found, the pointer is saved to psi->data. And efi_pstore_read()
> passes the entry(A) to a pstore filesystem by releasing
> __efivars->lock.
>
> And then, the pstore fil
Matt,
> It seems to me that because you're no longer dropping __efivars->lock
> when reading from the EFI variable store, you actually don't need all
> the ->scanning and ->deleting logic because anything that sets those
> flags runs to completion while holding the lock.
The scanning and deleting
i Aguchi
> >>> Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org;
> >>> matt.flem...@intel.com; tony.l...@intel.com; Tomoki Sekiyama;
> dle-
> >>> deve...@lists.sourceforge.net
> >>> Subject: Re: [PATCH v3] efivars,efi-pstore: H
>>> From: Madper Xie [mailto:c...@redhat.com]
>>> Sent: Thursday, October 17, 2013 1:54 AM
>>> To: Seiji Aguchi
>>> Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org;
>>> matt.flem...@intel.com; tony.l...@intel.com; Tomoki Sekiyama; dle-
>
le-
>> deve...@lists.sourceforge.net
>> Subject: Re: [PATCH v3] efivars,efi-pstore: Hold off deletion of sysfs entry
>> until, the scan is completed
>>
>> Howdy Seiji,
>> I failed appily this patch to both 3.12-rc2 and 3.12-rc4. Could you
>> please l
On Fri, 11 Oct, at 02:29:07PM, Seiji Aguchi wrote:
> Change from v2:
> - Move dynamic memory allocation to efi_pstore_read() before holding
> efivars->lock to protect entry->var.Data.
> - Access to entry->scanning while holding efivars->lock.
> - Move a comment about a returned value from efi_pst
rnel.org; linux-...@vger.kernel.org;
> matt.flem...@intel.com; tony.l...@intel.com; Tomoki Sekiyama; dle-
> deve...@lists.sourceforge.net
> Subject: Re: [PATCH v3] efivars,efi-pstore: Hold off deletion of sysfs entry
> until, the scan is completed
>
> Howdy Seiji,
> I failed appily
Howdy Seiji,
I failed appily this patch to both 3.12-rc2 and 3.12-rc4. Could you
please let me know which is the right tree for this patch?
Thanks,
Madper.
seiji.agu...@hds.com writes:
> Change from v2:
> - Move dynamic memory allocation to efi_pstore_read() before holding
> efivars->lo
Change from v2:
- Move dynamic memory allocation to efi_pstore_read() before holding
efivars->lock to protect entry->var.Data.
- Access to entry->scanning while holding efivars->lock.
- Move a comment about a returned value from efi_pstore_read_func() to
efi_pstore_read() because "size < 0" cas
10 matches
Mail list logo