Re: [PATCH] cgroup: don't queue css_release_work if one already pending

From: Michal Koutný
Date: Fri May 20 2022 - 12:43:03 EST


On Fri, May 20, 2022 at 09:38:12AM -0700, Tadeusz Struk <tadeusz.struk@xxxxxxxxxx> wrote:
> as this is a result of enqueuing the same css->destroy_work onto the same WQ,
> one on the rcu path and one on the css_release path.
> I will prototype it today and test with syzbot.

In my understanding, you'd need two independent work_structs in a css,
not two separate workqueues to put the single entry on.

Michal