lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ