[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20160830140834.6d1edf7abd9d95c02dae7820@arm.com>
Date: Tue, 30 Aug 2016 14:08:34 -0500
From: Kim Phillips <kim.phillips@....com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Johannes Weiner <hannes@...xchg.org>,
Arnd Bergmann <arnd@...db.de>, Tejun Heo <tj@...nel.org>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linuxppc-dev@...ts.ozlabs.org,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
Michael Ellerman <mpe@...erman.id.au>,
Catalin Marinas <catalin.marinas@....com>,
Will Deacon <will.deacon@....com>,
Mark Rutland <mark.rutland@....com>
Subject: [PATCH 1/2] perf_event: remove unused DEBUG_PERF_USE_VMALLOC
This 'DEBUG'-prefixed version of PERF_USE_VMALLOC is not used anywhere.
It appears to be leftovers from commit 906010b "perf_event: Provide
vmalloc() based mmap() backing" that introduced it.
Not sure what commit cb30711 "perf_event: Don't allow vmalloc() backed
perf on powerpc" was trying to do with it either.
Signed-off-by: Kim Phillips <kim.phillips@....com>
Cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: Michael Ellerman <mpe@...erman.id.au>
---
init/Kconfig | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/init/Kconfig b/init/Kconfig
index cac3f09..934a61f 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -1707,19 +1707,6 @@ config PERF_EVENTS
Say Y if unsure.
-config DEBUG_PERF_USE_VMALLOC
- default n
- bool "Debug: use vmalloc to back perf mmap() buffers"
- depends on PERF_EVENTS && DEBUG_KERNEL && !PPC
- select PERF_USE_VMALLOC
- help
- Use vmalloc memory to back perf mmap() buffers.
-
- Mostly useful for debugging the vmalloc code on platforms
- that don't require it.
-
- Say N if unsure.
-
endmenu
config VM_EVENT_COUNTERS
--
2.9.3
Powered by blists - more mailing lists