Re: [PATCH 4.4 164/190] futex: Remove requirement for lock_page() in get_futex_key()

From: Ben Hutchings
Date: Wed May 16 2018 - 10:10:05 EST


On Wed, 2018-05-16 at 15:38 +0100, Ben Hutchings wrote:
> On Wed, 2018-04-11 at 20:36 +0200, Greg Kroah-Hartman wrote:
> > 4.4-stable review patch.ÂÂIf anyone has any objections, please let me know.
> >
> > ------------------
> >
> > From: Mel Gorman <mgorman@xxxxxxx>
> >
> > commit 65d8fc777f6dcfee12785c057a6b57f679641c90 upstream.
>
> [...]
>
> This causes regressions, fixed upstream by:
>
> commit 077fa7aed17de5022e44bf07dbaf732078b7b5b2
> Author: Mel Gorman <mgorman@xxxxxxx>
> Date:ÂÂÂWed Jun 8 14:25:22 2016 +0100
>
> ÂÂÂÂfutex: Calculate the futex key based on a tail page for file-based futexes

Actually I think this backport to 4.4 incorporated the fix above, but
the one below still looks applicable.

Ben.

> commit 48fb6f4db940e92cfb16cd878cddd59ea6120d06
> Author: Mel Gorman <mgorman@xxxxxxx>
> Date:ÂÂÂWed Aug 9 08:27:11 2017 +0100
>
> ÂÂÂÂfutex: Remove unnecessary warning from get_futex_key
>
> Ben.
>
--
Ben Hutchings
Software Developer, Codethink Ltd.