Skip to content

Commit

Permalink
fix ksm parameter saving
Browse files Browse the repository at this point in the history
Fixes: kata-containers#5441

Signed-off-by: UnlimitedSoup <unlimitedsoup@UnlimitedSoupdeMacBook-Pro.local>
  • Loading branch information
UnlimitedSoup authored and UnlimitedSoup committed Feb 13, 2023
1 parent 7049a4a commit 070089e
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 070089e

Please sign in to comment.