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

From: Siddh Raman Pant
Date: Sun Jul 24 2022 - 03:49:05 EST


On Sun, 24 Jul 2022 12:49:58 +0530 Hillf Danton <hdanton@xxxxxxxx> wrote:
> Given defunct serialized, still need to clear wqueue->pipe in the clear
> path as proposed?

I am not sure what you mean by this...

If you mean freeing the pipe, it is done by free_pipe_info(), which is
the caller of watch_queue_clear().

If you mean making wqueue->pipe NULL, it is being done so in the patch.

Thanks,
Siddh