On Tue, 14 Sep 2010 10:59:16 -0400 Alexandre Bounine <alexandre.boun...@idt.com> wrote:
> @@ -219,6 +219,7 @@ struct rio_net { > /** > * struct rio_switch - RIO switch info > * @node: Node in global list of switches > + * @rdev: Associated RIO device structure > * @switchid: Switch ID that is unique across a network > * @hopcount: Hopcount to this switch > * @destid: Associated destid in the path > @@ -234,6 +235,7 @@ struct rio_net { > */ > struct rio_switch { > struct list_head node; > + struct rio_dev *rdev; > u16 switchid; > u16 hopcount; > u16 destid; What is the locking for rdev? In other patches I see pointer chases with no obvious locking against concurrent changes? _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev