Re: [PATCH] aio: Fix locking in aio_poll()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 04, 2019 at 09:45:55AM -0800, Bart Van Assche wrote:
> Since kioctx.ctx_lock may be acquired from IRQ context, all code that
> acquires that lock from thread context must disable interrupts. This
> patch fixes the following lockdep complaint:

But breaks the real life users of this interface :(

aio_poll_wake is assigned as the wake function to a waitqueue,
and the waitqueue interface requires that function to be called
with irqs disabled.  It looks like the fuse code is breaking that
contract, so we need to fix that instead of disable irqs.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux