diff options
author | 2018-12-28 00:39:05 -0800 | |
---|---|---|
committer | 2018-12-28 12:11:51 -0800 | |
commit | cc4f11e69fd00c61c38619759b07d00631bda5ca (patch) | |
tree | 24eca7a3290201f5534870d26c70dbd5f1f28020 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm: migration: factor out code to compute expected number of page references (diff) | |
download | wireguard-linux-cc4f11e69fd00c61c38619759b07d00631bda5ca.tar.xz wireguard-linux-cc4f11e69fd00c61c38619759b07d00631bda5ca.zip |
mm: migrate: lock buffers before migrate_page_move_mapping()
Lock buffers before calling into migrate_page_move_mapping() so that that
function doesn't have to know about buffers (which is somewhat unexpected
anyway) and all the buffer head logic is in buffer_migrate_page().
Link: http://lkml.kernel.org/r/20181211172143.7358-3-jack@suse.cz
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Mel Gorman <mgorman@suse.de>
Cc: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions