Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753591AbaD1Gfx (ORCPT ); Mon, 28 Apr 2014 02:35:53 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:52575 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753496AbaD1Gfv (ORCPT ); Mon, 28 Apr 2014 02:35:51 -0400 Date: Mon, 28 Apr 2014 12:05:41 +0530 From: Srikar Dronamraju To: Oleg Nesterov Cc: Ingo Molnar , Ananth N Mavinakayanahalli , Anton Arapov , David Long , Denys Vlasenko , "Frank Ch. Eigler" , Jim Keniston , Jonathan Lebon , Masami Hiramatsu , linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/3] uprobes/x86: Kill the "autask" arg of riprel_pre_xol() Message-ID: <20140428063541.GB5015@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20140427165200.GA3956@redhat.com> <20140427165227.GA4016@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20140427165227.GA4016@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-TM-AS-MML: No X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14042806-9332-0000-0000-000000A02425 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Oleg Nesterov [2014-04-27 18:52:27]: > default_pre_xol_op() passes ¤t->utask->autask to riprel_pre_xol() > and this is just ugly because it still needs to load current->utask to > read ->vaddr. > > Remove this argument, change riprel_pre_xol() to use current->utask. > > Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju -- 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/