Home
last modified time | relevance | path

Searched refs:cur_msr_val (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/arch/x86/kernel/cpu/resctrl/
Dmonitor.c752 u32 closid, rmid, cur_msr_val, new_msr_val; in update_mba_bw() local
780 cur_msr_val = resctrl_arch_get_config(r_mba, dom_mba, closid, CDP_NONE); in update_mba_bw()
804 if (cur_msr_val > r_mba->membw.min_bw && user_bw < cur_bw) { in update_mba_bw()
805 new_msr_val = cur_msr_val - r_mba->membw.bw_gran; in update_mba_bw()
806 } else if (cur_msr_val < MAX_MBA_BW && in update_mba_bw()
807 (user_bw > (cur_bw * (cur_msr_val + r_mba->membw.min_bw) / cur_msr_val))) { in update_mba_bw()
808 new_msr_val = cur_msr_val + r_mba->membw.bw_gran; in update_mba_bw()