Skip to content

Commit

Permalink
mm: Remove unnecessary info log
Browse files Browse the repository at this point in the history
If no DSA enabled channel can be used to accelerate page migration,
fallback to CPU do page migration is by natural. No necessary to
print this message.

Signed-off-by: Jiangbo Wu <[email protected]>
  • Loading branch information
Jiangbo-W authored and jialeif committed Oct 11, 2022
1 parent 5851e4f commit 4ce86a1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -1415,9 +1415,6 @@ static void migrate_pages_copy(struct list_head *pages,
if (migrate_use_dma() && !dma_migrate_pages_copy(pages, new_pages))
return;

if (migrate_use_dma())
pr_info("DMA copy failed, fallback to CPU\n");

newpage = list_first_entry(new_pages, struct page, lru);
list_for_each_entry(page, pages, lru) {
if (PageHuge(page) || PageTransHuge(page))
Expand Down

0 comments on commit 4ce86a1

Please sign in to comment.