mm/compaction: Fix split_map_pages() list splice
A change that was backported from list was found to be buggy. Fix that bug by reinitializing tmp_list after its contents are spliced so that its empty for the next go around the loop. Fixes: 1178b458 ("BACKPORT: FROMLIST: mm/compaction: add support for >0 order folio memory compaction.") Signed-off-by:Ryan Roberts <ryan.roberts@arm.com>
Loading
Please register or sign in to comment