Re: [PATCH bpf-next 2/4] bpf: add bpf_thread_wq kthread-backed workqueue with cgroup placement
Tejun Heo <[email protected]>
| Newsgroups | gmane.linux.network,gmane.linux.kernel,gmane.linux.kernel.bpf,gmane.linux.kernel.cgroups,gmane.linux.kernel.mm |
|---|---|
| Message-ID | <[email protected]> |
Hello, Hui. On Fri, Aug 07, 2026 at 03:01:50PM +0800, Hui Zhu wrote: > Introduce bpf_thread_wq, a new BPF embedded map field similar to > bpf_wq but backed by a dedicated kthread_worker instead of a system > workqueue. The worker kthread can be attached to a specific cgroup at > init time so BPF-deferred callbacks run under the resource limits of > the target cgroup. I find the name bpf_thread_wq unnecessarily confusing. The kernel counterpart is kthread_worker, not workqueue. Maybe name it bpf_kthread_worker? Thanks. -- tejun