mirror of
https://github.com/hardkernel/linux.git
synced 2026-03-26 12:30:23 +09:00
ANDROID: mm: fix freeing of MIGRATE_ISOLATE page
While porting [1] from 5.10 kernel there was a bug introduced which
results in CMA pages ending up in MIGRATE_MOVABLE pcp list. Remove
the extra line.
[1] https://android-review.googlesource.com/c/kernel/common/+/2059993
Fixes: 98f3cc7ecd ("ANDROID: mm: freeing MIGRATE_ISOLATE page instantly")
Bug: 299241869
Change-Id: Ia63bca17e455460eb9f22a1190c991159c44acaa
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
This commit is contained in:
committed by
Treehugger Robot
parent
5da77083fc
commit
a6f12f29b8
@@ -3591,7 +3591,6 @@ void free_unref_page(struct page *page, unsigned int order)
|
||||
free_one_page(page_zone(page), page, pfn, order, migratetype, FPI_NONE);
|
||||
return;
|
||||
}
|
||||
migratetype = MIGRATE_MOVABLE;
|
||||
if (migratetype == MIGRATE_HIGHATOMIC)
|
||||
migratetype = MIGRATE_MOVABLE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user