Message ID | 20210729215347.QTp5MNe-m%akpm@linux-foundation.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/7] lib/test_string.c: move string selftest in the Runtime Testing menu | expand |
--- a/mm/migrate.c~mm-migrate-fix-nr_isolated-corruption-on-64-bit +++ a/mm/migrate.c @@ -2068,7 +2068,7 @@ int migrate_misplaced_page(struct page * LIST_HEAD(migratepages); new_page_t *new; bool compound; - unsigned int nr_pages = thp_nr_pages(page); + int nr_pages = thp_nr_pages(page); /* * PTE mapped THP or HugeTLB page can't reach here so the page could