Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2208425yba; Fri, 10 May 2019 07:56:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxE4ZfMu/BrrdOmdMyUvYiXCGg1QpFfHQ+SXeGp/6xAwZZz8ckjegbt3ua4RmTDNgmKU3zt X-Received: by 2002:a65:5248:: with SMTP id q8mr13882938pgp.92.1557500191000; Fri, 10 May 2019 07:56:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557500190; cv=none; d=google.com; s=arc-20160816; b=i27XooDyt9hTmk7s6096EEAKl5GFqWN663qv/xehUDkZKi8IPSsJI2R28QTZ8UtYTL 0ip+yfep/WAK0yoIqhAYd7y+3mCSO74ze+bEdbCesuzGI7jReWATO6x/+PU1RvQPbNNz GtTSEeaXt9b3u5EYk1bhDBgM7xSFERsSMzNb2CCJYVOYJYU1f40fHvwECU01Gpkovvso OtiNvNAoII0iwc1aZ9hGpMqlPMhg+OdjyvxO5KsMtEd6Tjyk6tJ0wd7DLKOBKRFg94ZC k+P4QX0UYrMPBfXtKo41KjF9P1QYZGdhqlqqecdWoGql4LW4FX5WphDDqONrcq2mCfp4 JPuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=mIsahhDnW6ecr9UIhMjC7sKgKrPCXdDaC60o2AafNOo=; b=Jewjn7MYEyPaFYcRldxAc+mR0fSjWKSlY8t9y16G5taJmFdK4uDy/CyV9FLAxvBWWO Q9UDhioKCZWw9JzkPfBdQHcf/5W3AKAP8X/dwMPyGgjdtcuhoia9CygaTyu99cAnnxHf +p9JpzqdGGMobrP4cNGAf5pxssryN6BE/Dh6OxUaKDYj1CM2lkpFDerTKmmXDIS/xpud iEr55YD4VmrQgMmD+4GrK3AQLjrFNREuFkP76mNQV5cB/omtiRmY4clH6WT1YydqKsF8 or/vVSn3kyIzqtCNcAFST55+RNmLwlGP4IRLiQra0j2mJiPlDDf3b6/c3zsrGHRE01xy DFVg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m72si5995653pfi.96.2019.05.10.07.56.13; Fri, 10 May 2019 07:56:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727537AbfEJOyF (ORCPT + 99 others); Fri, 10 May 2019 10:54:05 -0400 Received: from mail.kernel.org ([198.145.29.99]:59484 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727258AbfEJOyF (ORCPT ); Fri, 10 May 2019 10:54:05 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 23A202175B; Fri, 10 May 2019 14:54:02 +0000 (UTC) Date: Fri, 10 May 2019 10:54:00 -0400 From: Steven Rostedt To: Peter Zijlstra Cc: Masami Hiramatsu , Andy Lutomirski , Josh Poimboeuf , linux-kernel@vger.kernel.org, Linus Torvalds , Ingo Molnar , Andrew Morton , Andy Lutomirski , Nicolai Stange , Thomas Gleixner , Borislav Petkov , "H. Peter Anvin" , x86@kernel.org, Jiri Kosina , Miroslav Benes , Petr Mladek , Joe Lawrence , Shuah Khan , Konrad Rzeszutek Wilk , Tim Chen , Sebastian Andrzej Siewior , Mimi Zohar , Juergen Gross , Nick Desaulniers , Nayna Jain , Masahiro Yamada , Joerg Roedel , linux-kselftest@vger.kernel.org Subject: Re: [PATCH 2/4] x86/kprobes: Fix frame pointer annotations Message-ID: <20190510105400.0d267e9f@gandalf.local.home> In-Reply-To: <20190510121720.GT2589@hirez.programming.kicks-ass.net> References: <20190508115416.nblx7c2kocidpytm@treble> <20190508120416.GL2589@hirez.programming.kicks-ass.net> <20190508124248.u5ukpbhnh4wpiccq@treble> <20190508153907.GM2589@hirez.programming.kicks-ass.net> <20190508184848.qerg3flv3ej3xsev@treble> <20190509102030.dfa62e058f09d0d8cbdd6053@kernel.org> <20190509081431.GO2589@hirez.programming.kicks-ass.net> <81170F0B-A2BB-4CD6-A1B5-5E7E0DDBC282@amacapital.net> <20190509174316.pzuakeu657g3fnlm@home.goodmis.org> <20190510122103.5a7bc5416b7af96b27d4fab4@kernel.org> <20190510121720.GT2589@hirez.programming.kicks-ass.net> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 10 May 2019 14:17:20 +0200 Peter Zijlstra wrote: > But both ftrace and retprobes are at C function call boundaries. > Preserving flags doesn't make sense. I agree, but I did it just because of my OCD and being complete in "emulating an int3" for ftrace_regs_caller ;-) Yeah, we can remove the popfl from the ftrace trampoline. -- Steve