Re: [tip:core/urgent] futex: Update woken requeued futex_q lock_ptr

From: Ingo Molnar
Date: Sun Aug 09 2009 - 16:57:05 EST



* tip-bot for Darren Hart <dvhltc@xxxxxxxxxx> wrote:

> @@ -1030,6 +1034,11 @@ void requeue_pi_wake_futex(struct futex_q *q, union futex_key *key)
> WARN_ON(!q->rt_waiter);
> q->rt_waiter = NULL;
>
> + q->lock_ptr = &hb->lock;
> +#ifdef CONFIG_DEBUG_PI_LIST
> + q->list.plist.slock = &hb->lock;
> +#endif
> +
> wake_up_state(q->task, TASK_NORMAL);
> }
>

-tip testing found a build error with v2 of the patch:

kernel/futex.c: In function ârequeue_pi_wake_futexâ:
kernel/futex.c:1039: error: âstruct plist_headâ has no member named âslockâ

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/