Re: Implement complete_all() with swait

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

 



On Fri, 28 Oct 2016 09:17:04 +0200
Daniel Wagner <wagi@xxxxxxxxx> wrote:

> 
> So I went through the list of users and tried to identify which of them 
> is going to make troubles. I found 4 users which are using 
> complete_all() while IRQs are disabled. The rest looks like it just 
> would work nice. I already fixed up a bunch of drivers which use 
> complete_all() just to make really sure the single waiter is woken up. 
> This list does only contain proper complete_all() users.
> 

I wonder if we can just create a separate thread or workqueue that
performs the complete all, and have the callers of complete_all() that
are currently under irqs disabled simply wake up the thread/workqueue
to perform the complete_all() with interrupts enabled?

-- Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux