Re: [PATCH v4 3/7] mm/khugepaged: introduce a count_collapse_event() helper
Lance Yang <[email protected]>
| Newsgroups | gmane.linux.documentation,gmane.linux.kernel.mm,gmane.linux.kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Aug 11, 2026 at 06:48:35AM -0600, Nico Pache (Red Hat) wrote: >Provide a simple helper function to help reduce a often used, and >duplicate pattern across the khugepaged code. > >When collapsing to a PMD we need to record a vm_event and the mTHP_stat >event. When doing mTHP collapse we only update the mTHP stat. > >Reviewed-by: Baolin Wang <[email protected]> >Acked-by: David Hildenbrand (Arm) <[email protected]> >Acked-by: Usama Arif <[email protected]> >Signed-off-by: Nico Pache (Red Hat) <[email protected]> >--- Reviewed-by: Lance Yang <[email protected]>