diff options
author | ZhangXiaoxu <zhangxiaoxu5@huawei.com> | 2019-06-12 09:54:25 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-06-22 08:18:22 +0200 |
commit | cd23996afa1441a2b658c33399e644a71025bdd5 (patch) | |
tree | bdb54dd62fd695517e50046cc25f0f0ecec0839c /kernel/relay.c | |
parent | 38fbd5c2d5721f6f0a40d8bf6e58e9a05df56c7e (diff) |
futex: Fix futex lock the wrong page
The upstram commit 65d8fc777f6d ("futex: Remove requirement
for lock_page() in get_futex_key()") use variable 'page' as
the page head, when merge it to stable branch, the variable
`page_head` is page head.
In the stable branch, the variable `page` not means the page
head, when lock the page head, we should lock 'page_head',
rather than 'page'.
It maybe lead a hung task problem.
Signed-off-by: ZhangXiaoxu <zhangxiaoxu5@huawei.com>
Cc: stable@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions