From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ingo Molnar Subject: Re: [PATCH v2 0/7] Allow disabling HW_BREAKPOINTS, PERF_EVENTS, INSTRUCTION_DECODER, IRQ_WORK, ANON_INODES Date: Mon, 10 Mar 2014 08:43:54 +0100 Message-ID: <20140310074354.GA4890@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, Suravee Suthikulpanit , Frederic Weisbecker , David Herrmann , Stephane Eranian , linux-kernel@vger.kernel.org, Paul Gortmaker , Paul Mackerras , "H. Peter Anvin" , Thomas Gleixner , Andi Kleen , x86@kernel.org, Ingo Molnar , oprofile-list@lists.sf.net, Mel Gorman , Arnaldo Carvalho de Melo , Borislav Petkov , Dave Young , Peter Zijlstra , Gleb Natapov , Steven Rostedt , Bin Gao , Matt Fleming , Jacob Shin , Oleg Nesterov , T To: Josh Triplett Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: oprofile-list-bounces@lists.sourceforge.net List-Id: kvm.vger.kernel.org * Josh Triplett wrote: > This patch series makes it possible to disable HW_BREAKPOINTS, > PERF_EVENTS, INSTRUCTION_DECODER, IRQ_WORK, and ANON_INODES. > Without this patch series, all of these config options get > automatically selected on x86, making them impossible to disable. > > This is a revival of a previous patch series from Andi Kleen sent in > October 2013. [...] So my main problem with those patches was that if HW_BREAKPOINTS is disabled then GDB 'hbreak' isn't simply disabled but fails in various non-obvious ways, taking down the rest of GDB with it, so it's in essence an ABI and tool breaker which is not very useful. If all of ptrace is disabled then it perhaps behaves more cleanly, but we didn't allow the disabling of ptrace in the past, and I'm not sure we should start with it today. So it's still a NAK for the time being. Thanks, Ingo ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech