From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760184Ab2CMJ2e (ORCPT ); Tue, 13 Mar 2012 05:28:34 -0400 Received: from e37.co.us.ibm.com ([32.97.110.158]:43794 "EHLO e37.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756585Ab2CMJ2c (ORCPT ); Tue, 13 Mar 2012 05:28:32 -0400 Date: Tue, 13 Mar 2012 14:54:33 +0530 From: Srikar Dronamraju To: Ingo Molnar Cc: "H. Peter Anvin" , Peter Zijlstra , Linus Torvalds , Oleg Nesterov , LKML , Christoph Hellwig , Steven Rostedt , Thomas Gleixner , Masami Hiramatsu , Anton Arapov , Ananth N Mavinakayanahalli , Jim Keniston , Jiri Olsa , Josh Stone Subject: Re: [PATCH] uprobes/core: handle breakpoint and signal step exception. Message-ID: <20120313092433.GA21727@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20120223110245.12459.7391.sendpatchset@srdronam.in.ibm.com> <20120227091212.GA7092@elte.hu> <20120308131824.GC13284@linux.vnet.ibm.com> <20120308134809.GB28488@elte.hu> <20120309062853.GD13284@linux.vnet.ibm.com> <20120309073348.GA15570@elte.hu> <20120313052016.GA27824@elte.hu> <20120313054242.GA1623@elte.hu> <20120313054744.GA27315@elte.hu> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20120313054744.GA27315@elte.hu> User-Agent: Mutt/1.5.20 (2009-06-14) X-Content-Scanned: Fidelis XPS MAILER x-cbid: 12031309-7408-0000-0000-000003664FC0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Ingo Molnar [2012-03-13 06:47:44]: > > * Ingo Molnar wrote: > > > To make it available to uprobes please move is_ia32_task() to > > processor.h and make it return 1 on i386 kernels. This should > > be a very simple patch - and that's all that is needed. > > Side note: in general I don't mind making compat.h a bit more > generic (at all), but is_ia32_task() is really a generic x86 > specific check that we can move to processor.h cleanly. > > Some other effort should make compat.h bitness agnostic - > uprobes doesn't actually make use of the compat types and > facilities there, and it resulted in a nonsensical change like > making the alloc function generic ... > Okay, Will move is_ia32_task() to processor.h and use it. -- Thanks and Regards Srikar