Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752407AbZG2GOJ (ORCPT ); Wed, 29 Jul 2009 02:14:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751887AbZG2GOH (ORCPT ); Wed, 29 Jul 2009 02:14:07 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:38069 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751701AbZG2GOG (ORCPT ); Wed, 29 Jul 2009 02:14:06 -0400 Date: Wed, 29 Jul 2009 09:54:23 +0530 From: Ananth N Mavinakayanahalli To: Masami Hiramatsu Cc: Linus Torvalds , lkml , systemtap , Jim Keniston Subject: Re: [BUGFIX PATCH] kprobes: Use kernel_text_address() for checking probe address Message-ID: <20090729042423.GA5232@in.ibm.com> Reply-To: ananth@in.ibm.com References: <20090728234723.15708.54455.stgit@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090728234723.15708.54455.stgit@localhost.localdomain> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 757 Lines: 16 On Tue, Jul 28, 2009 at 07:47:23PM -0400, Masami Hiramatsu wrote: > Use kernel_text_address() for checking probe address instead of > __kernel_text_address(), because __kernel_text_address() returns > !0 for init functions even after relaseing those functions. > That will hit a BUG() in text_poke(). > > Signed-off-by: Masami Hiramatsu > Cc: Ananth N Mavinakayanahalli > Cc: Jim Keniston Acked-by: Ananth N Mavinakayanahalli -- 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/