Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761960AbXLNHLR (ORCPT ); Fri, 14 Dec 2007 02:11:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753942AbXLNHLF (ORCPT ); Fri, 14 Dec 2007 02:11:05 -0500 Received: from smtp2.linux-foundation.org ([207.189.120.14]:56905 "EHLO smtp2.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751807AbXLNHLE (ORCPT ); Fri, 14 Dec 2007 02:11:04 -0500 Date: Thu, 13 Dec 2007 23:09:16 -0800 From: Andrew Morton To: Srinivasa Ds Cc: linux-kernel@vger.kernel.org, ananth@in.ibm.com, Masami Hiramatsu , Jim Keniston , rusty@rustcorp.com.au Subject: Re: [RFC] [patch 1/2] add non_init_kernel_text_address Message-Id: <20071213230916.cd30de8c.akpm@linux-foundation.org> In-Reply-To: <200712141225.30099.srinivasa@in.ibm.com> References: <200712141225.30099.srinivasa@in.ibm.com> X-Mailer: Sylpheed 2.4.1 (GTK+ 2.8.17; x86_64-unknown-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 Content-Length: 803 Lines: 22 On Fri, 14 Dec 2007 12:25:30 +0530 Srinivasa Ds wrote: > Since __init functions are discarded and its memory freed once > initialization completes, It would be better if we enable kprobes > to refuse probing __init functions. The attached patchset will do > that. > > This patch creates non_init_kernel_text_address() to identify > non_init text area. > > Iam open to suggestions for a better functionname. > It's not a great name. One wonders how it handles __exit text, for example. regular_kernel_text_address()? Dunno. -- 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/