Search Linux Wireless

Re: [PATCH v3] mac80211: Optimize sta lookup for many VIFs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/26/2013 12:42 PM, Johannes Berg wrote:
On Mon, 2013-03-25 at 17:57 -0700, greearb@xxxxxxxxxxxxxxx wrote:

v3:  Use rcu_dereference_protected as suggested.

Heh.

+		some_sta = rcu_dereference_protected(sta->sdata->some_sta, 1);

No no no, you're supposed to give it a proper argument like
"lockdep_is_held(&local->sta_mtx)"

Before I screw this up again..do you prefer that I line up
method arguments and go over 80 character line length, or
force the argument leftward to meet the 80 char limit?

I see no good way to make it fit in 80 chars and also
line up properly.

Thanks,
Ben


johannes



--
Ben Greear <greearb@xxxxxxxxxxxxxxx>
Candela Technologies Inc  http://www.candelatech.com

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux