Re: Problem with wake_up using real-time scheduling

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

 



On Tue, Jun 30, 2009 at 6:07 PM, Zoltan Bus<zoltan.bus@xxxxxxxxx> wrote:
> Hello,
>
> I have a problem on kernel 2.6.26.3. I have a real-time task which
> uses the select system call to poll my audio driver. The sleeping task
> is waken up by wake_up() from an interrupt handler.
> The problem is, that the wake_up() function  sometimes does not wake
> up the task if real-time priority is used.
>
> The try_to_wake_up() returns from the out_running section, because of the check
>
>     if (p->se.on_rq)
>             goto out_running;
>
> There are no other tasks running when the poll function is called.
>
> Is this a known problem? Is it fixed somehow in newer versions?
> Unfortunately I do not have the possibility to change the newest kernel version.

Hm, I am not sure either. Without checking your source code, have you
tried other variation of wake_up such as wake_up_poll() or
wake_up_interruptible_poll()? Seems promising to me.

regards,

Mulyadi.

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux