> With CONFIG_SYSFS=n there is nothing that will set ksm_run to anything but > zero and ksm_do_scan will never be called. > Unfortunatly, this is not so: In: /linux-master/mm/ksm.c 3143#else 3144 ksm_run = KSM_RUN_MERGE; /* no way for user to start it */ 3145 3146#endif /* CONFIG_SYSFS */ So, we do set ksm_run to run right from ksm_init() when CONFIG_SYSFS=n. I wonder if this is acceptible to only use xxhash when CONFIG_SYSFS=n ? Thank you, Pavel