diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2019-10-11 12:59:48 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-12 21:21:39 +0300 |
commit | a991063ce57684a2259688886643cf1c430f8188 (patch) | |
tree | 44047d72e51fca15bd2d84f0c80af1b2048f559e /include/linux/blk-cgroup.h | |
parent | 580c79e7e3e50afbd5a69b2b6ab2c61c5225f48e (diff) | |
download | linux-a991063ce57684a2259688886643cf1c430f8188.tar.xz |
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 'include/linux/blk-cgroup.h')
0 files changed, 0 insertions, 0 deletions