lkml.org 
[lkml]   [2010]   [Sep]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [PATCH v2 03/10] RapidIO: Use stored ingress port number instead of register read
Date
From
Andrew Morton <akpm@linux-foundation.org> wrote:

> What is the locking for rdev? In other patches I see pointer chases
> with no obvious locking against concurrent changes?

This rdev should be safe because it is intended for use only by
rio_switch
attached to the same rdev. Therefore rio_global_list_lock will work
here.

I will check for safe locking in all my patches - this set and earlier.


\
 
 \ /
  Last update: 2010-09-15 21:31    [from the cache]
©2003-2011 Jasper Spaans