lkml.org 
[lkml]   [2013]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/2] regmap: debugfs: Ensure proper locking of `debugfs_off_cache' list
On Thu, Feb 14, 2013 at 12:31:48PM +0000, Dimitris Papastamos wrote:

> There is a possible race between the read operations of the `registers'
> file and the `range' file. Close that down by taking the appropriate
> locks when modifying/accessing the list.

This seems like an incremental fix on the previous change; the previous
change introduced the ranges file with a race condition. If splitting
them up add the lock first and then add the ranges file that made it
needed.

Please do also thread patch series together.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-02-14 16:41    [W:0.044 / U:2.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site