Re: [PATCH V4 6/6] RDMA CM: Save Owning PID

2011-01-12 Thread Roland Dreier
> +spin_lock_irqsave(&id_priv->lock, flags); > +id_priv->owner = current->pid; > +spin_unlock_irqrestore(&id_priv->lock, flags); What is this serializing against? I can't see what the lock could be protecting against. - R. -- To unsubscribe from this list: send the line "unsubscr

[PATCH V4 6/6] RDMA CM: Save Owning PID

2011-01-03 Thread Nir Muchtar
Save owning PID to id-priv when creating id's/accepting connections. Signed-off-by: Nir Muchtar --- drivers/infiniband/core/cma.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 6436995..03f9649