On Wed, Aug 24, 2022 at 12:46:15PM +0000, xu xin wrote: > #ifdef CONFIG_KSM > ONE("ksm_merging_pages", S_IRUSR, proc_pid_ksm_merging_pages), > + ONE("ksm_rmp_items", S_IRUSR, proc_pid_ksm_rmp_items), You misspelled "rmap" in the file name. > + /* > + * Represent how many pages are checked for ksm merging > + * including merged and not merged. > + */ > + unsigned long ksm_rmp_items; Also here.