From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [RFC v2 2/7] tables.h: add linker table support Date: Tue, 23 Feb 2016 16:06:55 -0800 Message-ID: <56CCF41F.8080507@zytor.com> References: <1455889559-9428-1-git-send-email-mcgrof@kernel.org> <1455889559-9428-3-git-send-email-mcgrof@kernel.org> <56C77A53.6060708@zytor.com> <20160219214856.GX25240@wotan.suse.de> <56CCE9B6.4080000@zytor.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from terminus.zytor.com ([198.137.202.10]:52450 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbcBXAJx (ORCPT ); Tue, 23 Feb 2016 19:09:53 -0500 In-Reply-To: Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Luis R. Rodriguez" Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , X86 ML , "linux-kernel@vger.kernel.org" , Andy Lutomirski , Boris Ostrovsky , Rusty Russell , David Vrabel , Konrad Rzeszutek Wilk , Michael Brown , Juergen Gross , Ming Lei , Greg Kroah-Hartman , Arnd Bergmann , linux-arch@vger.kernel.org, Russell King , Benjamin Herrenschmidt , jbaron@akamai.com, ananth@in.ibm.com, anil.s.keshavamurthy@intel.com, David Miller , Masami Hiramatsu , andriy.shevchenko@l On 02/23/2016 03:36 PM, Luis R. Rodriguez wrote: > >> 4. the only useful operator on a range is "is address X inside this >> range"; this operator is likely *not* useful for a table, since >> if you have to ever invoke it you are probably doing something very >> wrong. > > kprobe uses it :P > Could you explain how? -hpa From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from terminus.zytor.com ([198.137.202.10]:52450 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750899AbcBXAJx (ORCPT ); Tue, 23 Feb 2016 19:09:53 -0500 Subject: Re: [RFC v2 2/7] tables.h: add linker table support References: <1455889559-9428-1-git-send-email-mcgrof@kernel.org> <1455889559-9428-3-git-send-email-mcgrof@kernel.org> <56C77A53.6060708@zytor.com> <20160219214856.GX25240@wotan.suse.de> <56CCE9B6.4080000@zytor.com> From: "H. Peter Anvin" Message-ID: <56CCF41F.8080507@zytor.com> Date: Tue, 23 Feb 2016 16:06:55 -0800 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-arch-owner@vger.kernel.org List-ID: To: "Luis R. Rodriguez" Cc: Thomas Gleixner , Ingo Molnar , Borislav Petkov , X86 ML , "linux-kernel@vger.kernel.org" , Andy Lutomirski , Boris Ostrovsky , Rusty Russell , David Vrabel , Konrad Rzeszutek Wilk , Michael Brown , Juergen Gross , Ming Lei , Greg Kroah-Hartman , Arnd Bergmann , linux-arch@vger.kernel.org, Russell King , Benjamin Herrenschmidt , jbaron@akamai.com, ananth@in.ibm.com, anil.s.keshavamurthy@intel.com, David Miller , Masami Hiramatsu , andriy.shevchenko@linux.intel.com, David Woodhouse , "xen-devel@lists.xensource.com" , linux-security-module Message-ID: <20160224000655.bSY5Yzy30ZBnczSvzbYJ5_2jtFGhsepr9rMm_VLJEbg@z> On 02/23/2016 03:36 PM, Luis R. Rodriguez wrote: > >> 4. the only useful operator on a range is "is address X inside this >> range"; this operator is likely *not* useful for a table, since >> if you have to ever invoke it you are probably doing something very >> wrong. > > kprobe uses it :P > Could you explain how? -hpa