Xuewen Yan 900bbaae67
epoll: Add synchronous wakeup support for ep_poll_callback
Now, the epoll only use wake_up() interface to wake up task.
However, sometimes, there are epoll users which want to use
the synchronous wakeup flag to hint the scheduler, such as
Android binder driver.
So add a wake_up_sync() define, and use the wake_up_sync()
when the sync is true in ep_poll_callback().

Co-developed-by: Jing Xia <jing.xia@unisoc.com>
Signed-off-by: Jing Xia <jing.xia@unisoc.com>
Signed-off-by: Xuewen Yan <xuewen.yan@unisoc.com>
Link: https://lore.kernel.org/r/20240426080548.8203-1-xuewen.yan@unisoc.com
Tested-by: Brian Geffon <bgeffon@google.com>
Reviewed-by: Brian Geffon <bgeffon@google.com>
Reported-by: Benoit Lize <lizeb@google.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-10-22 11:16:59 +02:00
..
2024-09-12 12:20:41 +02:00
2024-09-16 13:07:59 +02:00
2024-09-12 12:20:41 +02:00
2024-09-29 09:17:44 -07:00
2024-09-23 11:49:02 -07:00
2024-07-15 11:14:59 -07:00
2024-07-15 11:14:59 -07:00
2024-09-16 09:14:02 +02:00
2024-09-24 15:12:38 -07:00
2024-09-20 17:53:17 -07:00
2024-09-19 06:38:43 +02:00
2024-09-24 15:44:18 -07:00
2024-09-23 15:03:30 -04:00
2024-09-24 11:08:40 -07:00
2024-09-19 10:18:15 +02:00
2024-05-28 11:52:53 +02:00
\n
2024-09-23 10:49:28 -07:00
2024-08-21 22:32:58 +02:00
2024-09-28 08:35:21 -07:00
2024-04-23 13:27:43 +02:00
2024-09-16 09:14:02 +02:00
2024-09-16 09:14:02 +02:00
2024-08-29 06:20:44 +12:00
2024-07-15 11:14:59 -07:00
2024-09-16 08:54:30 +02:00
2024-04-25 20:56:20 -07:00
2024-10-22 11:16:58 +02:00
2024-09-18 08:53:53 +02:00
2024-10-22 11:16:58 +02:00
2024-08-28 13:05:39 +02:00
2024-09-24 15:44:18 -07:00
2024-09-16 08:54:30 +02:00
2024-09-24 15:29:42 -07:00
2024-09-16 11:15:26 +02:00
2024-09-27 08:18:43 -07:00
2024-09-27 08:18:43 -07:00
2024-09-16 08:35:09 +02:00