aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/fast_commit.h
diff options
context:
space:
mode:
authorWanpeng Li <[email protected]>2022-02-22 09:02:03 +0000
committerPaolo Bonzini <[email protected]>2022-02-25 15:09:34 +0000
commit3c51d0a6c761c2025c6db1ed4d3a7273167bf899 (patch)
tree8810288e3d48c3a5997391d3840d05f05ee1a94e /fs/ext4/fast_commit.h
parentx86/kvm: Don't use PV TLB/yield when mwait is advertised (diff)
downloadkernel-3c51d0a6c761c2025c6db1ed4d3a7273167bf899.tar.gz
kernel-3c51d0a6c761c2025c6db1ed4d3a7273167bf899.zip
x86/kvm: Don't waste memory if kvmclock is disabled
Even if "no-kvmclock" is passed in cmdline parameter, the guest kernel still allocates hvclock_mem which is scaled by the number of vCPUs, let's check kvmclock enable in advance to avoid this memory waste. Signed-off-by: Wanpeng Li <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.h')
0 files changed, 0 insertions, 0 deletions