Re: [PATCH mm-new v4 2/6] mm: khugepaged: refine scan progress number

From: David Hildenbrand (Red Hat)

Date: Wed Jan 14 2026 - 06:23:58 EST



mmap_locked = false;
result = hpage_collapse_scan_file(mm, addr, file, pgoff,
- cc);
+ NULL, cc);
fput(file);
} else {
result = hpage_collapse_scan_pmd(mm, vma, addr,
- &mmap_locked, cc);
+ &mmap_locked, NULL, cc);
}
if (!mmap_locked)
*lock_dropped = true;

Seeing the "NULL" tells me that this patch does effectively nothing and should likely get squashed into #3 ?

--
Cheers

David