Re: [PATCH] mm: migrate: fix missing update page_private to hugetlb_page_subpool

From
Mike Kravetz <hidden>
Date
2021-05-20 03:34:56
Also in
lkml
Reply to
Muchun Song, 2021-05-20
On 5/19/21 7:59 PM, Muchun Song wrote:
Since commit d6995da31122 ("hugetlb: use page.private for hugetlb specific
page flags") converts page.private for hugetlb specific page flags. We
should use hugetlb_page_subpool() to get the subpool pointer instead of
page_private(). The commit forgot to update it in the page migration
routine. So fix it.

Fixes: d6995da31122 ("hugetlb: use page.private for hugetlb specific page flags")
Reported-by: Anshuman Khandual <redacted>
Signed-off-by: Muchun Song <redacted>
---
 mm/migrate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Thank you Muchun!

Reviewed-by: Mike Kravetz <redacted>
-- 
Mike Kravetz
Thread (6 messages) 6 messages, 3 authors, last reply 2021-05-21
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help