[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101027.112245.232739163.davem@davemloft.net>
Date: Wed, 27 Oct 2010 11:22:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] inetpeer: __rcu annotations
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 26 Oct 2010 11:55:38 +0200
> Adds __rcu annotations to inetpeer
> (struct inet_peer)->avl_left
> (struct inet_peer)->avl_right
>
> This is a tedious cleanup, but removes one smp_wmb() from link_to_pool()
> since we now use more self documenting rcu_assign_pointer().
>
> Note the use of RCU_INIT_POINTER() instead of rcu_assign_pointer() in
> all cases we dont need a memory barrier.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists