Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757526AbZFWNMq (ORCPT ); Tue, 23 Jun 2009 09:12:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756773AbZFWNMh (ORCPT ); Tue, 23 Jun 2009 09:12:37 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53919 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756435AbZFWNMg (ORCPT ); Tue, 23 Jun 2009 09:12:36 -0400 Message-ID: <4A40D499.6000805@redhat.com> Date: Tue, 23 Jun 2009 09:11:53 -0400 From: Masami Hiramatsu User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Srikar Dronamraju CC: Ingo Molnar , Ananth N Mavinakayanahalli , lkml , systemtap , DLE , Jim Keniston , Christoph Hellwig , Steven Rostedt , Frederic Weisbecker , "H. Peter Anvin" , Anders Kaseorg , Tim Abbott Subject: Re: [RFC][ PATCH -tip v2 4/7] kprobes: kprobes jump optimization core References: <20090622212255.5384.53732.stgit@localhost.localdomain> <20090622212319.5384.56039.stgit@localhost.localdomain> <20090623125806.GD8340@linux.vnet.ibm.com> In-Reply-To: <20090623125806.GD8340@linux.vnet.ibm.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 945 Lines: 36 Srikar Dronamraju wrote: >> + /* .insn_size is initialized later */ >> + .nr_garbage = 0, >> +}; > >> +#if defined(CONFIG_OPTPROBES) && defined(__ARCH_WANT_KPROBES_INSN_SLOT) >> + /* Init kprobe_optinsn_slots */ >> + kprobe_optinsn_slots.insn_size = MAX_OPTINSN_SIZE; >> +#endif >> + > > What would be be the size of kprobe_optinsn_slots.insn_size if > CONFIG_OPTPROBES is defined but __ARCH_WANT_KPROBES_INSN_SLOT is not > defined? No problem. If __ARCH_WANT_KPROBES_INSN_SLOT is not defined, kprobe_optinsn_slots doesn't exist. Thank you, > > -Srikar -- Masami Hiramatsu Software Engineer Hitachi Computer Products (America), Inc. Software Solutions Division e-mail: mhiramat@redhat.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/