[PATCH v2 03/10] RapidIO: Use stored ingress port number instead of register read

Bounine, Alexandre Alexandre.Bounine at idt.com
Thu Sep 16 05:28:06 EST 2010


Andrew Morton <akpm at 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.


More information about the Linuxppc-dev mailing list