summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-06-11 11:55:04 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-06-11 11:55:04 -0700
commitd2b2250c3e565038a746b5db1de2af20a6468f02 (patch)
tree8dab3401887c2f9fdd6052c12aeb6a1b930c63ae
parentd54d35c501bcbd57b9722a6b371c0608b5d34199 (diff)
downloadop-kernel-dev-d2b2250c3e565038a746b5db1de2af20a6468f02.zip
op-kernel-dev-d2b2250c3e565038a746b5db1de2af20a6468f02.tar.gz
ia64: disable CONFIG_PERFMON at least for now
Al noted that the semantics of the ia64 perfmon mmap() is really wrong, and can cause serious VM problems. Before we look at whether it needs to be fixed, let's see if anybody even uses it, and mark it broken. It may be that we can just remove the code entirely. Reported-by: Alexander Viro <viro@zeniv.linux.org.uk> Acked-by: Matthew Wilcox <willy@infradead.org> Acked-by: Stephane Eranian <eranian@google.com> Cc: Tony Luck <tony.luck@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--arch/ia64/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/ia64/Kconfig b/arch/ia64/Kconfig
index 792437d..ff86142 100644
--- a/arch/ia64/Kconfig
+++ b/arch/ia64/Kconfig
@@ -455,6 +455,7 @@ config IA64_MCA_RECOVERY
config PERFMON
bool "Performance monitor support"
+ depends on BROKEN
help
Selects whether support for the IA-64 performance monitor hardware
is included in the kernel. This makes some kernel data-structures a
OpenPOWER on IntegriCloud