Skip to content
Commit 81764725 authored by Peng Hao's avatar Peng Hao Committed by Paolo Bonzini
Browse files

kvm: x86: Adjust the location of pkru_mask of kvm_mmu to reduce memory



Adjust the field pkru_mask to the back of direct_map to make up 8-byte
alignment.This reduces the size of kvm_mmu by 8 bytes.

Signed-off-by: default avatarPeng Hao <flyingpeng@tencent.com>
Message-Id: <20220228030749.88353-1-flyingpeng@tencent.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 42c35fdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment