Thread (25 messages) read the whole thread 25 messages, 3 authors, 2018-06-29

Re: [PATCH 6/6] fs: replace f_ops->get_poll_head with a static ->f_poll_head pointer

From: Linus Torvalds <torvalds@linux-foundation.org>
Date: 2018-06-29 13:41:01
Also in: linux-fsdevel, oe-lkp

On Fri, Jun 29, 2018 at 6:29 AM Christoph Hellwig [off-list ref] wrote:
No need for poll_table_entry, we just need a wait_queue_head.
poll_table_entry is an select.c internal (except for two nasty driver) -
neither epoll nor most in-kernel callers use it.
Well, you need the poll_table for the "poll_wait()", and you would
need to be able to have multiple wait-queues even though you only have
one file you're waiting for.

But yes, it doesn't really need to be the full complex poll_table_entry model.

              Linus
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help