Re: wakeup_pipe_readers/writers() && pipe_poll()

From: Oleg Nesterov
Date: Mon Jan 06 2025 - 13:04:09 EST


On 01/06, Oleg Nesterov wrote:
>
> To be honest, I don't understand the wait_address check in poll_wait(),
> it seems that wait_address is never NULL.

Yes,

$ git grep -E '\bpoll_wait\(' | perl -wne '/\(.*?,\s*\&/ or print'

doesn't find anything "interesting". I think the wait_address check
should die, it only adds the unnecessary confusion.

Oleg.