Name

sock_poll_wait — place memory barrier behind the poll_wait call.

Synopsis

void sock_poll_wait (struct file * filp,
 wait_queue_head_t * wait_address,
 poll_table * p);
 

Arguments

struct file * filp

file

wait_queue_head_t * wait_address

socket wait queue

poll_table * p

poll_table

Description

See the comments in the wq_has_sleeper function.