Re: wake_up does not return

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

 



On Fri, Jan 27, 2017 at 10:25:08PM +0000, Andy Ng wrote:
> the wake_up from a non threaded isr in RT will end up to try to get
> the spin_lock of of that wait_queue, but this kind of locking in not
> allowed in non threaded isr and therefore the use of wake_up_locked
> does not touches the spin_locks of the queue... and it seems to work

And, have you convinced yourself that this is a safe operation to
perform without taking the lock?

In other words, how are you preventing this interrupt from firing when a
thread is in process of manipulating the wake queue?

   Julia

PS. There is a "simple" waitqueue implementation which may or may not
fit what you want to do.
--
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