add ksm_config param to class ksm