Messages in this thread | | | Date | Thu, 16 Feb 2023 19:46:08 -0800 | From | Eric Biggers <> | Subject | Re: [PATCH v2] eventfd: use wait_event_interruptible_locked_irq() helper |
| |
On Fri, Feb 17, 2023 at 02:29:48AM +0800, wenyang.linux@foxmail.com wrote: > From: Wen Yang <wenyang.linux@foxmail.com> > > 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 <wenyang.linux@foxmail.com> > Cc: Alexander Viro <viro@zeniv.linux.org.uk> > Cc: Christoph Hellwig <hch@lst.de> > Cc: Dylan Yudaken <dylany@fb.com> > Cc: Jens Axboe <axboe@kernel.dk> > Cc: David Woodhouse <dwmw@amazon.co.uk> > Cc: Fu Wei <wefu@redhat.com> > Cc: Paolo Bonzini <pbonzini@redhat.com> > Cc: Michal Nazarewicz <m.nazarewicz@samsung.com> > Cc: Matthew Wilcox <willy@infradead.org> > Cc: linux-fsdevel@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > --- > fs/eventfd.c | 41 +++++++---------------------------------- > 1 file changed, 7 insertions(+), 34 deletions(-)
Reviewed-by: Eric Biggers <ebiggers@google.com>
- Eric
| |