+ linux-wireless Thomas Gleixner <t...@linutronix.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 <t...@linutronix.de> > Cc: net...@vger.kernel.org > Cc: b43-dev@lists.infradead.org > Cc: Kalle Valo <kv...@codeaurora.org> > Cc: Larry Finger <larry.fin...@lwfinger.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-wirel...@vger.kernel.org, please? -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches