[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1409044603.2489.7.camel@jlt4.sipsolutions.net>
Date: Tue, 26 Aug 2014 11:16:43 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Andreea-Cristina Bernat <bernat.ada@...il.com>
Cc: linville@...driver.com, davem@...emloft.net,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, paulmck@...ux.vnet.ibm.com
Subject: Re: [PATCH] mac80211: scan: Replace rcu_assign_pointer() with
RCU_INIT_POINTER()
On Fri, 2014-08-22 at 16:14 +0300, Andreea-Cristina Bernat wrote:
> The use of "rcu_assign_pointer()" is NULLing out the pointer.
> According to RCU_INIT_POINTER()'s block comment:
> "1. This use of RCU_INIT_POINTER() is NULLing out the pointer"
> it is better to use it instead of rcu_assign_pointer() because it has a
> smaller overhead.
Applied, thanks.
johannes
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists