[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <877e7vkhh6.fsf@kamboji.qca.qualcomm.com>
Date: Fri, 02 Aug 2019 13:08:05 +0300
From: Kalle Valo <kvalo@...eaurora.org>
To: Thomas Gleixner <tglx@...utronix.de>
Cc: netdev@...r.kernel.org, b43-dev@...ts.infradead.org,
Larry Finger <Larry.Finger@...inger.net>,
linux-wireless@...r.kernel.org
Subject: Re: [PATCH] b43legacy: Remove pointless cond_resched() wrapper
+ linux-wireless
Thomas Gleixner <tglx@...utronix.de> writes:
> cond_resched() can be used unconditionally. If CONFIG_PREEMPT is set, it
> becomes a NOP scheduler wise.
>
> Also the B43_BUG_ON() in that wrapper is a homebrewn variant of
> __might_sleep() which is part of cond_resched() already.
>
> Remove the wrapper and invoke cond_resched() directly.
>
> Found while looking for CONFIG_PREEMPT dependent code treewide.
>
> Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
> Cc: netdev@...r.kernel.org
> Cc: b43-dev@...ts.infradead.org
> Cc: Kalle Valo <kvalo@...eaurora.org>
> Cc: Larry Finger <Larry.Finger@...inger.net>
I use patchwork and this doesn't show there as our patchwork follows
only linux-wireless linux. Can you resend and Cc also
linux-wireless@...r.kernel.org, please?
--
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Powered by blists - more mailing lists