summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorXuewen Yan <xuewen.yan@unisoc.com>2024-04-26 11:05:48 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-27 16:02:20 +0300
commit2d129beb8dd49f12d23f27ecc92cdf544d1e9472 (patch)
tree920f96c4197ff229c9a8940c0ba7456dc34adc6a /scripts/generate_rust_analyzer.py
parenta086c8d7f2797c23434baaa4aae0a6bae5dc3414 (diff)
downloadlinux-2d129beb8dd49f12d23f27ecc92cdf544d1e9472.tar.xz
epoll: Add synchronous wakeup support for ep_poll_callback
commit 900bbaae67e980945dec74d36f8afe0de7556d5a upstream. 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> Cc: Brian Geffon <bgeffon@google.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions