Skip to content
Commit 8411e112 authored by Ryan Roberts's avatar Ryan Roberts
Browse files

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's avatarRyan Roberts <ryan.roberts@arm.com>
parent 83445df8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment