diff options
author | 2023-02-13 20:34:39 +0800 | |
---|---|---|
committer | 2023-02-16 20:43:53 -0800 | |
commit | 64c8902ed4418317cd416c566f896bd4a92b2efc (patch) | |
tree | 28eae3fab3d5b329cae0f03184c6085b95a9ea8c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | migrate_pages: restrict number of pages to migrate in batch (diff) | |
download | wireguard-linux-64c8902ed4418317cd416c566f896bd4a92b2efc.tar.xz wireguard-linux-64c8902ed4418317cd416c566f896bd4a92b2efc.zip |
migrate_pages: split unmap_and_move() to _unmap() and _move()
This is a preparation patch to batch the folio unmapping and moving.
In this patch, unmap_and_move() is split to migrate_folio_unmap() and
migrate_folio_move(). So, we can batch _unmap() and _move() in different
loops later. To pass some information between unmap and move, the
original unused dst->mapping and dst->private are used.
Link: https://lkml.kernel.org/r/20230213123444.155149-5-ying.huang@intel.com
Signed-off-by: "Huang, Ying" <ying.huang@intel.com>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Reviewed-by: Xin Hao <xhao@linux.alibaba.com>
Cc: Zi Yan <ziy@nvidia.com>
Cc: Yang Shi <shy828301@gmail.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Matthew Wilcox <willy@infradead.org>
Cc: Bharata B Rao <bharata@amd.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Hyeonggon Yoo <42.hyeyoo@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions