From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752197AbcH3TIi (ORCPT ); Tue, 30 Aug 2016 15:08:38 -0400 Received: from foss.arm.com ([217.140.101.70]:47588 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750766AbcH3TIg (ORCPT ); Tue, 30 Aug 2016 15:08:36 -0400 Date: Tue, 30 Aug 2016 14:08:34 -0500 From: Kim Phillips To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Andrew Morton , Kees Cook , Johannes Weiner , Arnd Bergmann , Tejun Heo Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, Peter Zijlstra , Michael Ellerman , Catalin Marinas , Will Deacon , Mark Rutland Subject: [PATCH 1/2] perf_event: remove unused DEBUG_PERF_USE_VMALLOC Message-Id: <20160830140834.6d1edf7abd9d95c02dae7820@arm.com> Organization: ARM X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.30; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Cc: Peter Zijlstra Cc: Michael Ellerman --- 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