From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from s3.sipsolutions.net ([5.9.151.49] helo=sipsolutions.net) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YHBFW-0003bR-9D for ath10k@lists.infradead.org; Fri, 30 Jan 2015 13:04:38 +0000 Message-ID: <1422623054.1919.18.camel@sipsolutions.net> Subject: Re: [PATCH v2 2/7] ath10k: implement chanctx API From: Johannes Berg Date: Fri, 30 Jan 2015 14:04:14 +0100 In-Reply-To: (sfid-20150130_140219_266074_71EA76C0) References: <1422607287-12289-1-git-send-email-michal.kazior@tieto.com> <1422621086-28970-1-git-send-email-michal.kazior@tieto.com> <1422621086-28970-3-git-send-email-michal.kazior@tieto.com> <1422621903.1919.7.camel@sipsolutions.net> (sfid-20150130_140219_266074_71EA76C0) Mime-Version: 1.0 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath10k" Errors-To: ath10k-bounces+kvalo=adurom.com@lists.infradead.org To: Michal Kazior Cc: linux-wireless , "ath10k@lists.infradead.org" On Fri, 2015-01-30 at 14:02 +0100, Michal Kazior wrote: > I recall that at least there's one case where using these helpers is > impossible: drv_config() which can be called while mac80211 is already > holding iflist_mtx. ath10k needs to iterate over vifs and issue > blocking commands sometimes so it can't use atomic/rcu versions > either. If you wanted to use it, I wouldn't be averse to adding a locked version that can only be used inside a few of such callbacks. With appropriate lockdep warnings that would be safe enough, I think. johannes _______________________________________________ ath10k mailing list ath10k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath10k