Skip to content

RISC-V: KVM: Align kvm_vcpu_state to cacheline boundary - #361

Open
BillXiang wants to merge 1 commit into
RVCK-Project:rvck-6.6from
BillXiang:rvck-6.6
Open

RISC-V: KVM: Align kvm_vcpu_state to cacheline boundary#361
BillXiang wants to merge 1 commit into
RVCK-Project:rvck-6.6from
BillXiang:rvck-6.6

Conversation

@BillXiang

Copy link
Copy Markdown
Contributor

riscv inclusion
category: kvm
bugzilla: #360


The kvm_vcpu_state structure is accessed frequently during VM entry/exit. Misalignment can cause a single structure to span multiple cache lines, leading to increased cache misses and performance degradation.

Align the structure to the maximum cache line size to ensure it resides within a single cache line, reducing cache contention and improving overall KVM performance.

The kvm_vcpu_state structure is accessed frequently during VM entry/exit.
Misalignment can cause a single structure to span multiple cache lines,
leading to increased cache misses and performance degradation.

Align the structure to the maximum cache line size to ensure
it resides within a single cache line, reducing cache contention and
improving overall KVM performance.

Signed-off-by: BillXiang <xiangwencheng@lanxincomputing.com>
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

开始测试 log: https://github.com/RVCK-Project/rvck/actions/runs/31171223549

参数解析结果
args value
repository RVCK-Project/rvck
head ref pull/361/head
base ref rvck-6.6
LAVA repo RVCK-Project/lavaci
LAVA hardware ['qemu']
LAVA Testcase path lava-testcases/common-test/ltp/ltp.yaml
need run job kunit-test,kernel-build,check-patch,lava-trigger

测试完成

详细结果:
check result
kunit-test success
kernel-build failure
check-patch success
lava-trigger-qemu skipped
lava-trigger-sg2042 skipped
lava-trigger-k1 skipped
lava-trigger-lpi4a skipped

Kunit Test Result

[10:48:09] Testing complete. Ran 482 tests: passed: 465, skipped: 17

Kernel Build Result

Check Patch Result

Total Errors 0
Total Warnings 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant