Thread (3 messages) flat view 3 messages, 3 authors, 2019-08-01

Re: [PATCH v2 net-next] be2net: disable bh with spin_lock in be_process_mcc

From: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Date: 2019-08-01 14:04:34

On Thu, Aug 1, 2019 at 5:24 AM Denis Kirjanov [off-list ref] wrote:
be_process_mcc() is invoked in 3 different places and
always with BHs disabled except the be_poll function
but since it's invoked from softirq with BHs
disabled it won't hurt.
This describes the current state. What is the benefit of removing the
local_bh_disable/local_bh_enable pair from one caller (be_worker), but
not another (be_mcc_wait_compl) and then convert process_mcc to
disable bh itself with spin_lock_bh?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help