Re: [PATCH] mac80211: add stop/start logic for software TXQs
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2018-06-29 07:58:03
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2018-06-29 07:58:03
On Tue, 2018-06-26 at 18:01 +0530, Manikanta Pubbisetty wrote:
Valid point, txqs_paused is set in ieee80211_tx_dequeue; I was thinking a case where tx_dequeue is called without rcu_read_lock but seems that is not the case. All drivers using wake_tx_queue seems are using rcu_read_lock before tx_dequeue; can there be a case where tx_dequeue is called without rcu_read_lock?
FWIW, the rcu_read_lock() isn't relevant at all - multiple threads can well (and will for sure!) enter it. johannes