aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAndre Przywara <[email protected]>2012-05-29 11:07:31 +0000
committerKonrad Rzeszutek Wilk <[email protected]>2012-05-31 16:16:52 +0000
commit5e626254206a709c6e937f3dda69bf26c7344f6f (patch)
tree3518e8efbca67bcd44d922b7c3ef758ffee6fbd0 /fs/jbd2/commit.c
parentxen/balloon: Subtract from xen_released_pages the count that is populated. (diff)
downloadkernel-5e626254206a709c6e937f3dda69bf26c7344f6f.tar.gz
kernel-5e626254206a709c6e937f3dda69bf26c7344f6f.zip
xen/setup: filter APERFMPERF cpuid feature out
Xen PV kernels allow access to the APERF/MPERF registers to read the effective frequency. Access to the MSRs is however redirected to the currently scheduled physical CPU, making consecutive read and compares unreliable. In addition each rdmsr traps into the hypervisor. So to avoid bogus readouts and expensive traps, disable the kernel internal feature flag for APERF/MPERF if running under Xen. This will a) remove the aperfmperf flag from /proc/cpuinfo b) not mislead the power scheduler (arch/x86/kernel/cpu/sched.c) to use the feature to improve scheduling (by default disabled) c) not mislead the cpufreq driver to use the MSRs This does not cover userland programs which access the MSRs via the device file interface, but this will be addressed separately. Signed-off-by: Andre Przywara <[email protected]> Cc: [email protected] # v3.0+ Signed-off-by: Konrad Rzeszutek Wilk <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions