Re: rt14: strace -> migrate_disable_atomic imbalance

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

 



On Wed, 2011-09-21 at 20:50 +0200, Peter Zijlstra wrote:
> +static void wait_task_inactive_sched_out(struct preempt_notifier *n,
> +               struct task_struct *next)
> +{
> +       struct task_struct *p;
> +       struct wait_task_inactive_blocked *blocked = 
> +               container_of(n, struct wait_task_inactive_blocked, notifier);
> +
> +       if (current->on_rq) /* we're not inactive yet */
> +               return;
> +
> +       hlist_del(&n->link);
> +
> +       p = ACCESS_ONCE(blocked->waiter);
> +       blocked->waiter = NULL;
> +       wake_up_process(p);
> +} 

Trying a wakeup from there isn't going to actually ever work of-course..
Duh!
--
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