diff options
author | Wen Yang <[email protected]> | 2023-04-06 03:20:02 +0800 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2023-04-06 10:01:50 +0200 |
commit | 113348a44b8622b497fb884f41c8659481ad0b04 (patch) | |
tree | 67849f3a3119388977221b25d592acc9720e7bcb /tools/perf/scripts/python/sctop.py | |
parent | 983652c691990b3257a07f67f4263eb847baa82d (diff) |
eventfd: use wait_event_interruptible_locked_irq() helper
wait_event_interruptible_locked_irq was introduced by commit 22c43c81a51e
("wait_event_interruptible_locked() interface"), but older code such as
eventfd_{write,read} still uses the open code implementation.
Inspired by commit 8120a8aadb20
("fs/timerfd.c: make use of wait_event_interruptible_locked_irq()"), this
patch replaces the open code implementation with a single macro call.
No functional change intended.
Signed-off-by: Wen Yang <[email protected]>
Reviewed-by: Eric Biggers <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Cc: Alexander Viro <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Cc: Dylan Yudaken <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: David Woodhouse <[email protected]>
Cc: Fu Wei <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Michal Nazarewicz <[email protected]>
Cc: Matthew Wilcox <[email protected]>
Cc: [email protected]
Cc: [email protected]
Message-Id: <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions