[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49B9F32E.9020003@us.ibm.com>
Date: Thu, 12 Mar 2009 22:46:22 -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,
rusty@...tcorp.com.au, peterz@...radead.org, tglx@...utronix.de,
linux-tip-commits@...r.kernel.org
Subject: Re: [tip:core/futexes] futex: additional (get|put)_futex_key() fixes
Ingo Molnar wrote:
> * Darren Hart <dvhltc@...ibm.com> wrote:
>
>> @@ -1595,13 +1601,12 @@ uaddr_faulted:
>>
>> ret = get_user(uval, uaddr);
>> if (!ret)
>> - goto retry;
>> + goto retry_unlocked;
>>
>> - if (to)
>> - destroy_hrtimer_on_stack(&to->timer);
>> - return ret;
>> + goto out_put_key;
>
> hm, was that destroy_hrtimer_on_stack() removal intended? It's
> not directly commented on in the changelog.
Yes, rather than duplicate the cleanup logic, I replaced it with the
"goto out_put_key;", which also drops the futex_key, which was missing
in the original exit path.
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