diff options
author | 2019-07-16 16:26:18 -0700 | |
---|---|---|
committer | 2019-07-16 19:23:21 -0700 | |
commit | be03074c9af25d06cf8e9ebddfcd284c0bf7f947 (patch) | |
tree | cf728058af2776e978daffd645cdc09c18e0722f /include/asm-generic/cacheflush.h | |
parent | mm/vmscan.c: add checks for incorrect handling of current->reclaim_state (diff) | |
download | wireguard-linux-be03074c9af25d06cf8e9ebddfcd284c0bf7f947.tar.xz wireguard-linux-be03074c9af25d06cf8e9ebddfcd284c0bf7f947.zip |
mm/z3fold.c: remove z3fold_migration trylock
z3fold_page_migrate() will never succeed because it attempts to acquire
a lock that has already been taken by migrate.c in __unmap_and_move().
__unmap_and_move() migrate.c
trylock_page(oldpage)
move_to_new_page(oldpage_newpage)
a_ops->migrate_page(oldpage, newpage)
z3fold_page_migrate(oldpage, newpage)
trylock_page(oldpage)
Link: http://lkml.kernel.org/r/20190710213238.91835-1-henryburns@google.com
Fixes: 1f862989b04a ("mm/z3fold.c: support page migration")
Signed-off-by: Henry Burns <henryburns@google.com>
Reviewed-by: Shakeel Butt <shakeelb@google.com>
Cc: Vitaly Wool <vitalywool@gmail.com>
Cc: Vitaly Vul <vitaly.vul@sony.com>
Cc: Jonathan Adams <jwadams@google.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Snild Dolkow <snild@sony.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/asm-generic/cacheflush.h')
0 files changed, 0 insertions, 0 deletions