@@ -332,7 +332,7 @@ pipe_read(struct kiocb *iocb, struct iov_iter *to)
332
332
do_wakeup = 1 ;
333
333
wake = head - (tail - 1 ) == pipe -> max_usage / 2 ;
334
334
if (wake )
335
- wake_up_interruptible_sync_poll_locked (
335
+ wake_up_locked_poll (
336
336
& pipe -> wait , EPOLLOUT | EPOLLWRNORM );
337
337
spin_unlock_irq (& pipe -> wait .lock );
338
338
if (wake )
@@ -371,7 +371,7 @@ pipe_read(struct kiocb *iocb, struct iov_iter *to)
371
371
372
372
/* Signal writers asynchronously that there is more room. */
373
373
if (do_wakeup ) {
374
- wake_up_interruptible_sync_poll (& pipe -> wait , EPOLLOUT | EPOLLWRNORM );
374
+ wake_up_interruptible_poll (& pipe -> wait , EPOLLOUT | EPOLLWRNORM );
375
375
kill_fasync (& pipe -> fasync_writers , SIGIO , POLL_OUT );
376
376
}
377
377
if (ret > 0 )
@@ -477,7 +477,7 @@ pipe_write(struct kiocb *iocb, struct iov_iter *from)
477
477
* syscall merging.
478
478
* FIXME! Is this really true?
479
479
*/
480
- wake_up_interruptible_sync_poll_locked (
480
+ wake_up_locked_poll (
481
481
& pipe -> wait , EPOLLIN | EPOLLRDNORM );
482
482
483
483
spin_unlock_irq (& pipe -> wait .lock );
@@ -531,7 +531,7 @@ pipe_write(struct kiocb *iocb, struct iov_iter *from)
531
531
out :
532
532
__pipe_unlock (pipe );
533
533
if (do_wakeup ) {
534
- wake_up_interruptible_sync_poll (& pipe -> wait , EPOLLIN | EPOLLRDNORM );
534
+ wake_up_interruptible_poll (& pipe -> wait , EPOLLIN | EPOLLRDNORM );
535
535
kill_fasync (& pipe -> fasync_readers , SIGIO , POLL_IN );
536
536
}
537
537
if (ret > 0 && sb_start_write_trylock (file_inode (filp )-> i_sb )) {
0 commit comments