Skip to content

Commit

Permalink
ksm_test: fix ksm parameter saving
Browse files Browse the repository at this point in the history
fix the files for save_ksm_settings() calling

Fixes: kata-containers#5441

Signed-off-by: soup <[email protected]>
  • Loading branch information
cheriL committed Feb 16, 2023
1 parent 4648d96 commit badc83a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions metrics/lib/common.bash
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ common_init(){
save_ksm_settings(){
echo "saving KSM settings"
ksm_stored_run=$(cat ${KSM_ENABLE_FILE})
ksm_stored_pages=$(cat ${KSM_ENABLE_FILE})
ksm_stored_sleep=$(cat ${KSM_ENABLE_FILE})
ksm_stored_pages=$(cat ${KSM_PAGES_FILE})
ksm_stored_sleep=$(cat ${KSM_SLEEP_FILE})
}

set_ksm_aggressive(){
Expand Down

0 comments on commit badc83a

Please sign in to comment.