Re: possible deadlock in aio_poll
From: Christoph Hellwig
Date: Tue Sep 11 2018 - 02:33:41 EST
On Mon, Sep 10, 2018 at 08:14:20PM +0200, Miklos Szeredi wrote:
> Why do pollable waitqueues need to disable interrupts generally?
Any waitqueue needs to disable interrupts for consistency. We
always use spin_lock_irqsave in __wake_up_common_lock() for example.