Re: [PATCH v3 3/8] workqueue: Implement BH workqueues to eventually replace tasklets

From: Tejun Heo
Date: Mon Feb 26 2024 - 13:47:28 EST


Hello,

On Sun, Feb 25, 2024 at 06:00:48PM -0800, Boqun Feng wrote:
> Sorry, late to the party, but I wonder how this play along with cpu
> hotplug? Say we've queued a lot BH_WORK on a CPU, and we offline that
> cpu, wouldn't that end up with a few BH_WORK left on that CPU not being
> executed?

Ah, good point. tasklets get transferred out of offline CPU. Workqueue
counterpart doesn't do that. I'll fix that.

Thanks.

--
tejun