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

From: Bounine, Alexandre
Date: Wed Sep 15 2010 - 15:29:08 EST


Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/