lkml.org 
[lkml]   [2011]   [Aug]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: pstore: change mutex locking to spin_locks
On Thu, Aug 18, 2011 at 09:33:17AM -0700, Luck, Tony wrote:
> > But in this case we have a filesystem that can be read/written to from a
> > normal context and also written to from an NMI context
>
> I fixed (avoided) the problem of writing to the pstore filesystem in NMI
> context in my other pstore patch in linux-next ("defer inserting OOPS entries in pstore").

Ok, just found that patch. That fixes one of the issues. :-)

>
> So the remaining locking requirement in pstore is just to protect
> the non-volatile backing store from simultaneous access.

Right. It is still awkward to have userspace write to the pstore and then
be interrupted by an NMI who wants to write to the pstore without causing
deadlocks. But I think we will get there.

Cheers,
Don


\
 
 \ /
  Last update: 2011-08-18 19:27    [from the cache]
©2003-2011 Jasper Spaans