2018-10-26 18:17:31

by Ben Greear

[permalink] [raw]
Subject: Bad WARN_ON spam in mac80211 wake_queue

I made the mistake of configuring 64 ath10k vdevs on an un-modified
4.19-rc5 mac80211, and the (OpenWRT) system mostly killed itself. I'm not sure
if this is root cause or not, but one of the issues is that this code
hits the WARN_ON in wake_queue() over and over again. Please make it WARN_ON_ONCE
when you get a chance...my tree is too dirty to make a good patch
in this area.

static void __ieee80211_wake_queue(struct ieee80211_hw *hw, int queue,
enum queue_stop_reason reason,
bool refcounted)
{
struct ieee80211_local *local = hw_to_local(hw);

trace_wake_queue(local, queue, reason);

if (WARN_ON(queue >= hw->queues))
return;


Thanks,
Ben

--
Ben Greear <[email protected]>
Candela Technologies Inc http://www.candelatech.com