Kefeng Wang
15b0c79cfa
mm: migrate_device: unify migrate folio for MIGRATE_SYNC_NO_COPY
...
The __migrate_device_pages() won't copy page so MIGRATE_SYNC_NO_COPY
passed into migrate_folio()/migrate_folio_extra(), actually a easy way is
just to call folio_migrate_mapping()/folio_migrate_flags(), converting it
to unify and simplify the migrate device pages, which also remove the only
call for MIGRATE_SYNC_NO_COPY.
Link: https://lkml.kernel.org/r/20240524052843.182275-4-wangkefeng.wang@huawei.com
Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com>
Reviewed-by: Jane Chu <jane.chu@oracle.com>
Cc: Alistair Popple <apopple@nvidia.com>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: David Hildenbrand <david@redhat.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Jérôme Glisse <jglisse@redhat.com>
Cc: Jiaqi Yan <jiaqiyan@google.com>
Cc: Matthew Wilcox (Oracle) <willy@infradead.org>
Cc: Miaohe Lin <linmiaohe@huawei.com>
Cc: Muchun Song <muchun.song@linux.dev>
Cc: Naoya Horiguchi <nao.horiguchi@gmail.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vishal Moola (Oracle) <vishal.moola@gmail.com>
Cc: Zi Yan <ziy@nvidia.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-07-03 19:30:00 -07:00
..
2024-05-11 15:41:36 -07:00
2024-06-24 20:52:09 -07:00
2024-07-03 19:29:58 -07:00
2024-06-05 19:19:25 -07:00
2024-05-05 17:53:51 -07:00
2022-08-02 12:34:03 -04:00
2023-10-25 16:47:13 -07:00
2022-09-11 20:25:50 -07:00
2024-02-22 10:24:57 -08:00
2024-04-25 20:56:42 -07:00
2024-02-22 10:24:57 -08:00
2024-06-24 20:52:09 -07:00
2024-04-25 20:56:04 -07:00
2024-06-15 10:43:08 -07:00
2024-05-05 17:53:31 -07:00
2024-07-03 19:29:58 -07:00
2023-12-05 11:17:58 +01:00
2023-06-09 16:25:56 -07:00
2024-05-14 00:31:43 -07:00
2023-06-23 16:59:31 -07:00
2023-06-09 16:25:23 -07:00
2022-11-22 18:50:44 -08:00
2024-06-05 19:19:26 -07:00
2024-07-03 19:29:59 -07:00
2023-06-23 16:58:19 -07:00
2022-11-08 17:37:15 -08:00
2024-05-07 10:37:01 -07:00
2023-12-29 12:22:28 -08:00
2024-04-25 20:55:46 -07:00
2024-07-03 19:29:56 -07:00
2024-05-05 17:53:41 -07:00
2024-04-25 20:56:32 -07:00
2023-10-25 16:47:14 -07:00
2024-07-03 19:29:52 -07:00
2024-07-03 19:29:58 -07:00
2023-12-12 10:11:32 +01:00
2024-07-03 19:29:58 -07:00
2023-08-18 10:12:36 -07:00
2024-05-19 09:21:03 -07:00
2024-01-22 10:31:08 +01:00
2024-05-05 17:53:53 -07:00
2024-05-19 14:40:44 -07:00
2024-06-05 19:19:26 -07:00
2024-02-22 10:24:54 -08:00
2023-04-12 17:36:23 -07:00
2024-07-03 19:29:57 -07:00
2024-05-23 19:40:26 -07:00
2023-08-24 16:20:30 -07:00
2024-06-16 10:17:57 +03:00
2024-07-03 19:29:59 -07:00
2024-03-04 17:01:21 -08:00
2024-05-05 17:53:35 -07:00
2024-07-03 19:29:59 -07:00
2024-05-05 17:53:26 -07:00
2024-07-03 19:29:58 -07:00
2024-07-03 19:29:53 -07:00
2024-06-05 19:19:26 -07:00
2024-05-05 17:53:49 -07:00
2024-03-13 12:12:21 -07:00
2024-07-03 19:30:00 -07:00
2024-07-03 19:29:59 -07:00
2024-07-03 19:29:56 -07:00
2024-04-25 20:56:19 -07:00
2024-07-03 19:29:58 -07:00
2022-10-03 14:02:43 -07:00
2024-07-03 19:29:58 -07:00
2024-02-22 15:27:17 -08:00
2024-04-11 13:18:36 -04:00
2023-12-12 10:57:02 -08:00
2024-07-03 19:29:56 -07:00
2024-05-23 19:40:26 -07:00
2024-05-23 19:40:26 -07:00
2022-09-26 19:46:25 -07:00
2024-05-19 09:21:03 -07:00
2024-04-25 20:56:32 -07:00
2024-06-24 20:52:11 -07:00
2022-09-11 20:26:01 -07:00
2024-04-25 20:56:14 -07:00
2023-01-18 17:12:52 -08:00
2024-07-03 19:29:55 -07:00
2024-04-25 20:56:04 -07:00
2024-05-19 14:40:44 -07:00
2023-12-10 16:51:50 -08:00
2024-01-08 15:27:15 -08:00
2024-06-15 10:43:04 -07:00
2024-05-05 17:53:45 -07:00
2024-07-03 19:29:54 -07:00
2023-12-10 16:51:53 -08:00
2024-04-25 20:55:56 -07:00
2024-04-25 20:55:49 -07:00
2024-04-25 20:55:56 -07:00
2024-05-07 10:37:00 -07:00
2023-12-10 16:51:39 -08:00
2024-02-22 10:24:47 -08:00
2024-05-19 09:21:03 -07:00
2024-05-11 15:41:35 -07:00
2022-10-03 14:03:05 -07:00
2023-08-21 13:38:02 -07:00
2024-03-26 11:07:23 -07:00
2024-07-03 19:29:56 -07:00
2024-04-25 20:55:57 -07:00
2023-10-04 10:32:26 -07:00
2024-01-05 09:58:32 -08:00
2022-10-03 14:03:07 -07:00
2024-01-08 15:27:15 -08:00
2024-05-19 09:21:03 -07:00
2024-05-19 09:21:03 -07:00
2024-06-24 20:52:09 -07:00
2023-08-18 10:12:53 -07:00
2024-05-05 17:53:40 -07:00
2022-10-03 14:03:36 -07:00
2024-04-25 20:56:37 -07:00
2024-07-03 19:29:56 -07:00
2024-05-05 17:53:50 -07:00
2024-07-03 19:29:56 -07:00
2024-07-03 19:29:56 -07:00
2024-07-03 19:29:52 -07:00
2023-04-12 17:36:23 -07:00
2024-05-19 09:21:03 -07:00
2024-06-17 12:00:22 -07:00
2024-06-24 20:52:08 -07:00
2023-11-28 14:08:38 +01:00
2024-07-03 19:29:53 -07:00
2024-04-15 14:31:47 +02:00
2024-05-07 10:36:59 -07:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:55:48 -07:00
2024-04-25 20:55:48 -07:00
2024-07-03 19:29:59 -07:00
2024-05-05 17:53:38 -07:00