Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261409AbVD0FIJ (ORCPT ); Wed, 27 Apr 2005 01:08:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261482AbVD0FII (ORCPT ); Wed, 27 Apr 2005 01:08:08 -0400 Received: from e4.ny.us.ibm.com ([32.97.182.144]:51595 "EHLO e4.ny.us.ibm.com") by vger.kernel.org with ESMTP id S261409AbVD0FIE (ORCPT ); Wed, 27 Apr 2005 01:08:04 -0400 Date: Wed, 27 Apr 2005 10:38:16 +0530 From: Prasanna S Panchamukhi To: Chris Wedgwood Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Don't oops when unregistering unknown kprobes Message-ID: <20050427050816.GE32766@in.ibm.com> Reply-To: prasanna@in.ibm.com References: <20050426162203.GE27406@gilgamesh.home.res> <20050426194841.GA2955@taniwha.stupidest.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050426194841.GA2955@taniwha.stupidest.org> User-Agent: Mutt/1.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 936 Lines: 31 Chris, On Tue, Apr 26, 2005 at 12:48:41PM -0700, Chris Wedgwood wrote: > On Tue, Apr 26, 2005 at 06:22:03PM +0200, Frederik Deweerdt wrote: > > > Here's a patch that handles gracefully attempts to unregister > > unregistered kprobes (ie. a warning message instead of an oops). > > Patch is against 2.6.12-rc3 > > Why not -EINVAL instead of the printk? This problem has been already fixed, pls see the URL below. http://lkml.org/lkml/2005/4/11/112 Currently this patch is in -mm tree. But this patch does not have the prink reporting failure. Thanks Prasanna -- Prasanna S Panchamukhi Linux Technology Center India Software Labs, IBM Bangalore Ph: 91-80-25044636 - 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/