Re: [PATCH v2] kernel/watch_queue: Make pipe NULL while clearing watch_queue

From: David Howells
Date: Wed Jul 27 2022 - 10:49:28 EST


Hillf Danton <hdanton@xxxxxxxx> wrote:

> Yes, you are right. I missed 353f7988dd84 ("watchqueue: make sure to serialize
> 'wqueue->defunct' properly"). Sorry for my noise.
>
> Given defunct serialized, still need to clear wqueue->pipe in the clear
> path as proposed?

In fact, with the locking, is wqueue->defunct even still needed, I wonder?

David