[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A7F479D.3070306@us.ibm.com>
Date: Sun, 09 Aug 2009 15:03:09 -0700
From: Darren Hart <dvhltc@...ibm.com>
To: Ingo Molnar <mingo@...e.hu>
CC: mingo@...hat.com, hpa@...or.com, linux-kernel@...r.kernel.org,
jkacur@...hat.com, johnstul@...ibm.com, peterz@...radead.org,
dino@...ibm.com, rostedt@...dmis.org, stable@...nel.org,
tglx@...utronix.de, linux-tip-commits@...r.kernel.org
Subject: Re: [tip:core/urgent] futex: Update woken requeued futex_q lock_ptr
Ingo Molnar wrote:
> * tip-bot for Darren Hart <dvhltc@...ibm.com> 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’
I've been developing on -rt, and the plist implementation changed with:
34ca9f9b spinlocks: Create atomic_spinlock and convert rq->lock
Apologies for not catching that. I'll send out V3 of this patch, one
for mainline, and one for -rt. Is prefacing the patch with [RT] the
preferred way to distinguish mainline and -rt patches?
Thanks,
--
Darren Hart
IBM Linux Technology Center
Real-Time Linux Team
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists