stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 3.4.106: futex: Wrong back port of 9e9aab5dbf?
@ 2015-08-08  6:12 Dirk Behme
  2015-09-07  8:43 ` Zefan Li
  0 siblings, 1 reply; 2+ messages in thread
From: Dirk Behme @ 2015-08-08  6:12 UTC (permalink / raw)
  To: Zefan Li; +Cc: stable

Hello,

from a private -stable review we think that the commit 9e9aab5dbf 
("futex: Ensure get_futex_key_refs() always implies a barrier" [1]) is 
not correctly back ported to 3.4.x:

The issue is that the memory barrier is introduced into 
drop_futex_key_refs() function instead of get_futex_key_refs() function.

Additionally, we are unsure if the futex commits this commit is fixing 
are really in < 3.4.106. I.e. we are unsure if this fix is needed at 
all. Or at least if some additional futex commits are needed.

Do you like to check?

Best regards

Dirk

[1] 
https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/?id=9e9aab5dbf6f13478cd996692ed9679af2404fc7

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 3.4.106: futex: Wrong back port of 9e9aab5dbf?
  2015-08-08  6:12 3.4.106: futex: Wrong back port of 9e9aab5dbf? Dirk Behme
@ 2015-09-07  8:43 ` Zefan Li
  0 siblings, 0 replies; 2+ messages in thread
From: Zefan Li @ 2015-09-07  8:43 UTC (permalink / raw)
  To: Dirk Behme; +Cc: stable

Hi Dirk,

On 2015/8/8 14:12, Dirk Behme wrote:
> Hello,
>
> from a private -stable review we think that the commit 9e9aab5dbf ("futex: Ensure get_futex_key_refs() always implies a barrier" [1]) is not correctly back ported to 3.4.x:
>
> The issue is that the memory barrier is introduced into drop_futex_key_refs() function instead of get_futex_key_refs() function.
>
> Additionally, we are unsure if the futex commits this commit is fixing are really in < 3.4.106. I.e. we are unsure if this fix is needed at all. Or at least if some additional futex commits are needed.
>
> Do you like to check?
>

I've confired this commit isn't needed for 3.4.y. It was backported quite long ago,
and at that time I hadn't improved my scripts to check the Fixes tag. Fortunately
seems this mistake won't cause serious issue.

I'll revert it in the coming 3.4.109. Thanks for the review!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-09-07  8:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-08  6:12 3.4.106: futex: Wrong back port of 9e9aab5dbf? Dirk Behme
2015-09-07  8:43 ` Zefan Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).