summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-10-11 11:59:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-11-12 19:19:05 +0100
commit82e77746f07db70367f66ef272256037d6415353 (patch)
tree61690a46abb532071f815998fbd6df3d899730dd /init
parentcc5b0b7602f6f56cf6a03cbf091fc3ac2e4bb744 (diff)
downloadlinux-stable-82e77746f07db70367f66ef272256037d6415353.tar.gz
linux-stable-82e77746f07db70367f66ef272256037d6415353.tar.bz2
linux-stable-82e77746f07db70367f66ef272256037d6415353.zip
kvm: x86, powerpc: do not allow clearing largepages debugfs entry
commit 833b45de69a6016c4b0cebe6765d526a31a81580 upstream. The largepages debugfs entry is incremented/decremented as shadow pages are created or destroyed. Clearing it will result in an underflow, which is harmless to KVM but ugly (and could be misinterpreted by tools that use debugfs information), so make this particular statistic read-only. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: kvm-ppc@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions