Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4071417yba; Mon, 29 Apr 2019 13:14:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGkd0cpOeBsFpw9KTZ8FM65zD7Ud7wSh0Avlfw/u+c0G+WnOhM84KW6aK2dvuqmxu7gWu+ X-Received: by 2002:a63:66c1:: with SMTP id a184mr62030263pgc.412.1556568880991; Mon, 29 Apr 2019 13:14:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556568880; cv=none; d=google.com; s=arc-20160816; b=fSW0lbZZLgnaRHIe5kXiUwtUXxxDxXIRS9pQhxV57OD9yGD3LsmhDOzvOeSOHEA4tQ NMnJgYHjdsdMa7fQHfSgvT5iOTrjDpMpe8KFx6TR/59/k+XhAtIO81K7yNBbVn8IzY0U wK/c4b8nFsVsfmwu6SBnhuDk4gdeJH25rKOGWAcgMja4K+RkYmtB+V0B7/0Ei9y5Tlph psvOeXpZWct+ftrJRMuMaruVORRPCOCgVkF9VCF3aq315Tut6yRnLq1LVefjLBVYHfwL +bp6l3ngIJiFZXVFw19oLJexExgz9rMq+LSXDPUNedCuMUdfLn2XdNgSEC+83ztzkSbC D86A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6BzF2OGCOW6HJd/OnyiluqOmAxSSof4acOvoZOgQm9o=; b=DmJdvIPe3i3I464r3Xz4LAUk7Hy0V0zkGS0T///qnsuTU2vjNnuJF1+4Fms4VJ/BwP 3AS5M3O+Gei2lzaiKxI+6xpHrMolg5jK8LwG9FTht5eTHbo8YfmcOkhoNZ7eNIBe7Dkb aN22txaPRZSL+ti2WnORDqWysSjkGruET2H5vDPwOV2iCJaDI/uPGSh+xOTWpsVRD5+T ijlvG+vDMKjDQWkSewgwrgkL27k9HdhEV4lHt9A8+Il6ofaBLQM4Qoa9WepV4FX5Y5Rr JvhV9b2/qrNjXfa/H/NwqlCgdgsuQkyB9ELB1XR2IVBPAotSWSOGZYcwrLLKJhlDCNgo 1LSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=USATFDoZ; 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 s7si21906361pgr.287.2019.04.29.13.14.24; Mon, 29 Apr 2019 13:14:40 -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; dkim=pass header.i=@linux-foundation.org header.s=google header.b=USATFDoZ; 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 S1729336AbfD2UL4 (ORCPT + 99 others); Mon, 29 Apr 2019 16:11:56 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:46428 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728928AbfD2UL4 (ORCPT ); Mon, 29 Apr 2019 16:11:56 -0400 Received: by mail-lf1-f68.google.com with SMTP id k18so8859619lfj.13 for ; Mon, 29 Apr 2019 13:11:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6BzF2OGCOW6HJd/OnyiluqOmAxSSof4acOvoZOgQm9o=; b=USATFDoZDh4xC+n5UqEtvteBhBowGyyECGRsSRhXKOP5PzafOvxupieg8HOTz7c/tT PXOh2kw9Riqlvj6y0JnovEQkM5Sxqs6/eA/GdnQ1+qDmrJni0xr2WjZhGxpsNJCXOf6b lOAASJsanyZBZOXaJ0IkarPkyAoriW6kXsvF0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6BzF2OGCOW6HJd/OnyiluqOmAxSSof4acOvoZOgQm9o=; b=Dq/kDHuF/O6URex9WPc2R6M8zg2kU+LlrZz9j8wxCcBTMY/+01bnyEB1LSx5Xv8IH2 yggPcVvCRv4F4UDBPi7DYYS3lrGw7t67ssq0jhUTQKlpMQsQcb+U5NV4L0ZKNauoi/AA WdVKW3zds73kciRWyWnOAfz3rPC4/5e5t63IMUMDygAhb+9N+/PGHVkamNwnxARvBunk kNX+Guua56y0l0nrhIOuuSL2Tbu8HylTGV8pys1dwLLyFSZS9GeLZk5ncTtuak5hXhqj vkFscity5DP+IjPWEF+zCEbXiAyHBa5Y9SmcOJupR+ZlumPjCyRT+hhkzyGqO75amPFJ BPrw== X-Gm-Message-State: APjAAAVcuQOKD4tjfrQ3GUArqB+5HJ6Y6JQM4FHqVTTFAbqNm9TwcRUN N27hLUAXIWiuQ2pirdiCOoyQ5HIftH0= X-Received: by 2002:ac2:5207:: with SMTP id a7mr35414412lfl.70.1556568713912; Mon, 29 Apr 2019 13:11:53 -0700 (PDT) Received: from mail-lj1-f170.google.com (mail-lj1-f170.google.com. [209.85.208.170]) by smtp.gmail.com with ESMTPSA id z7sm7555127lfg.40.2019.04.29.13.11.53 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Apr 2019 13:11:53 -0700 (PDT) Received: by mail-lj1-f170.google.com with SMTP id t1so477801lje.10 for ; Mon, 29 Apr 2019 13:11:53 -0700 (PDT) X-Received: by 2002:a2e:3e0e:: with SMTP id l14mr33501765lja.125.1556568393207; Mon, 29 Apr 2019 13:06:33 -0700 (PDT) MIME-Version: 1.0 References: <20190427100639.15074-1-nstange@suse.de> <20190427100639.15074-4-nstange@suse.de> <20190427102657.GF2623@hirez.programming.kicks-ass.net> <20190428133826.3e142cfd@oasis.local.home> <20190429145250.1a5da6ed@gandalf.local.home> <20190429150724.6e501d27@gandalf.local.home> In-Reply-To: <20190429150724.6e501d27@gandalf.local.home> From: Linus Torvalds Date: Mon, 29 Apr 2019 13:06:17 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/4] x86/ftrace: make ftrace_int3_handler() not to skip fops invocation To: Steven Rostedt Cc: Peter Zijlstra , Nicolai Stange , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , "the arch/x86 maintainers" , Josh Poimboeuf , 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 , Andy Lutomirski , Joerg Roedel , Linux List Kernel Mailing , live-patching@vger.kernel.org, "open list:KERNEL SELFTEST FRAMEWORK" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 29, 2019 at 12:07 PM Steven Rostedt wrote: > > Are you suggesting that I rewrite the code to do it one function at a > time? This has always been batch mode. This is not something new. The > function tracer has been around longer than the text poke code. Only do the 'call' instructions one at a time. Why would you change _existing_ code? Linus