Commit e6d9e3af authored by Masami Hiramatsu's avatar Masami Hiramatsu Committed by Richard Fung
Browse files

CHROMIUM: KVM: sched: Use KVM uclamp hypercall if available



Use KVM uclamp hypercall to set the guest task's uclamp setting to
the vCPU task in the host side. This is done when the guest tasks
are switching and only if the uclamp hypercall is available and
uclamp setting is different from the previous task.

BUG=b:230005239
BUG=b:230582047
UPSTREAM-TASK=b:256983979
TEST=tast run -buildbundle=crosint -var arcappgameperf.mute=true DUT
arcappgameperf.RobloxRoyaleHighDiviniaPark.vm, and check the FPS.

Signed-off-by: default avatarMasami Hiramatsu <mhiramat@google.com>
Change-Id: Id0832f3c55594610005d31bce32f573e329087b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3849761


Commit-Queue: Suleiman Souhlal <suleiman@chromium.org>
Reviewed-by: default avatarSuleiman Souhlal <suleiman@chromium.org>
Signed-off-by: default avatarRichard Fung <richardfung@google.com>
parent dbdee8ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment