Thread (59 messages) 59 messages, 14 authors, 2025-05-27

Re: [PATCH 6/8] net: tcp: tsq: Convert from tasklet to BH workqueue

From: Jason Xing <hidden>
Date: 2025-05-27 23:43:53
Also in: dm-devel, lkml

On Wed, May 28, 2025 at 2:55 AM Tejun Heo [off-list ref] wrote:
Hello,

On Sun, May 25, 2025 at 11:51:55AM +0800, Jason Xing wrote:
quoted
Sorry to revive the old thread! I noticed this change because I've
been doing an investigation around TSQ recently. I'm very cautious
about the change in the core/sensitive part of the networking area
because it might affect some corner cases beyond our limited test,
even though I've tested many rounds and no regression results
(including the latency between tcp_wfree and tcp_tsq_handler) show up.
My main concern is what the exact benefit/improvement it could bring
with the change applied since your BH workqueue commit[1] says the
tasklet mechanism has some flaws. I'd like to see if I can
reproduce/verify it.
There won't be any behavioral benefits. It's mostly that it'd be great to
get rid of tasklets with something which is more generic, so if BH workqueue
doesn't regress, we want to keep moving users to BH workqueue until all
tasklet users are gone and then remove tasklet.
I see. So far I haven't see any side effect especially with testing
bulk transfer/multi-thread transfer, so if you're willing to repost it
after the merge window, please feel free to add:

Reviewed-by: Jason Xing <redacted>

Thanks,
Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help