Re: [PATCH v3 06/12] mm/khugepaged: remove khugepaged prefix from shared collapse functions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 26, 2022 at 07:44:06AM -0700, Zach O'Keefe wrote:
> The following functions/tracepoints are shared between khugepaged and
> madvise collapse contexts.  Remove the khugepaged prefixes.
> 
> tracepoint:mm_khugepaged_scan_pmd -> tracepoint:mm_scan_pmd
> khugepaged_test_exit() -> test_exit()
> khugepaged_scan_abort() -> scan_abort()
> khugepaged_scan_pmd() -> scan_pmd()
> khugepaged_find_target_node() -> find_target_node()

The khugepaged prefix can indeed be confusing, but are the new names just
too short?  IMHO it'll be nice to still have some generic prefix.

Perhaps something like "hpage_collapse_"/"hpage_"/"hpc_"/..?

-- 
Peter Xu





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux