Re: [PATCH v4 1/7] mm/khugepaged: refactor per-scan state clearing into collapse_control_init_scan()
Lance Yang <[email protected]>
| Newsgroups | org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kvack.linux-mm |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 11, 2026 at 06:48:33AM -0600, Nico Pache (Red Hat) wrote: >Extract the repeated clearing of node_load, alloc_nmask, and >mthp_present_ptes into a helper to reduce duplication in >collapse_scan_pmd() and collapse_scan_file(). Althought file scans do not >current use the bitmap, they will in the future, and clearing it now is >harmless. > >Reviewed-by: Baolin Wang <[email protected]> >Acked-by: Usama Arif <[email protected]> >Acked-by: David Hildenbrand (Arm) <[email protected]> >Reviewed-by: Lorenzo Stoakes (ARM) <[email protected]> >Reviewed-by: Zi Yan <[email protected]> >Signed-off-by: Nico Pache (Red Hat) <[email protected]> >--- Nice cleanup! Reviewed-by: Lance Yang <[email protected]>