Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4950420ybg; Mon, 21 Oct 2019 17:40:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDSTtMsgbjflKWdA6xa7OYmxI4UNHh0z54WSKwFRavNDodhfaZ9u0V5tJB4iICgZKxxiUc X-Received: by 2002:a17:906:8d6:: with SMTP id o22mr24336625eje.153.1571704836421; Mon, 21 Oct 2019 17:40:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571704836; cv=none; d=google.com; s=arc-20160816; b=ImJxMQ5dFPUNB/MSbT1jQjxqBarikNVQEL65MOKxBIShjiK+XE4ocvaRnwDxNbpj+J GfYHYnz5ZQj+rf/AwU86I0VhsBjqa1tRprAUsZeRhVZeeNCxajr6yCXAOPxTW6DCMbhH oUJxIy2rQYHchZzXZMdn9i/oxBx3nL62E+4b6lDNTNjo2jjqrKfz+y1C3iG9KB/5OUwv IAQ3rM10+meYcmuAaeQzWxvzFcGIBGv7BpO/MdNz2f/wlWASX3g0ITpJW0ZP2tWik7As cy4KGGcPy/J6HqT+5BAgecowEFruVzHVSxXu9VgObdMbivkYekV9p/E1iW2JQN0LqqSM Ks3g== 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=IWhaX4k6lFHGGs9vgp5PpGqm7vKA7sqLPJ/OVQwJYM8=; b=Wi3jWcMKpkQntKdXEKt1idvMnLhX5J888RYe+7lJQ6DDdSrpAnacK1P9nE2685bGyg OtFZ/+fulK//B89HNrLVh3PUrxBUWsxx5TxrbMT+KukKQTHpfgJMXXhxMopTQoGDaD7d EMc30c6iyvqQcNkKw94vwNpjbDPaZ/Kz3szITOyedBSIVDISVcuRwcqfH1FxKtSXc8ee fLmBz6nEwIrIEuNxH1igaR/ehUdTqSs31p12oxoe6bTCJxKQ66Wsd7qwqiew0NcS081b 1H6SZNf5FDKqIwor1xqsHJiEyKvPxukbIUyON/TspZ7RG/6HFJNKEbhhTA6zk18wqYIO ZARA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Mxn6zclG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r8si8718346ejr.33.2019.10.21.17.40.13; Mon, 21 Oct 2019 17:40:36 -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=@gmail.com header.s=20161025 header.b=Mxn6zclG; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730934AbfJVAhJ (ORCPT + 99 others); Mon, 21 Oct 2019 20:37:09 -0400 Received: from mail-lj1-f195.google.com ([209.85.208.195]:44823 "EHLO mail-lj1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730690AbfJVAhI (ORCPT ); Mon, 21 Oct 2019 20:37:08 -0400 Received: by mail-lj1-f195.google.com with SMTP id c4so140109lja.11 for ; Mon, 21 Oct 2019 17:37:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=IWhaX4k6lFHGGs9vgp5PpGqm7vKA7sqLPJ/OVQwJYM8=; b=Mxn6zclG7aCJE+Gbl0eDGL3OWzLs5QH1w1HctpXaXwa9lerQff2UuOFWNngRVL4rXP DVdvDkzXv9TwweIDY/j2A/og6LdXEdMN/VBgdnfG92KVKX6hVsFCn4QCtKqr/tGmQ06q 14m19p9d10EH7vCewH2Xl+BiXNWN+IgXQc0Wh2dJoGP10RmkbAo08sSWzf53pHr3wImS pUMTNlgMkEpEHZgE2FuTsgX9cUM/TK53D0iy90ILc3vDdTlNkaip67g+0i2mE4Li2tQj X1kbr936re/JPT+azvWX2YkV/0YmW1WpfQk3ageC8tYUU8XlDmFW4RmM93LstdIAb8i7 /EXA== 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=IWhaX4k6lFHGGs9vgp5PpGqm7vKA7sqLPJ/OVQwJYM8=; b=DEDRMDnIocgwveyaHAdH7y6DpWOMa14QQ9w04WkAcGXVGhVt6Pdg3Ph02tfoTjQR0r 9nSKrI5D2DHH69V26RAw65D5BblUXSh0dnqHbsKhkD7DktZOAyyFXxkO7cKFhYj895/w ntOhO0FCou/HOMa/B/7YvDAvlC7ZX9HzWGXA4c8EL6sVt5F3VH8MXcX7kA2Ao+4gxfcP pQRjfxgrwxAu7h6aT0YqfInuzXb5NpgaQ8OOIkzNfIzwZ/Ivh/5z/RbzL5HbPWEHnkoU c3T8Hbv8dA3pvTpU0gA91INL9wgOmBYDErJ8xEts8sFiIxJVsU8xhxkO0cKBUS8mlRGi sK8g== X-Gm-Message-State: APjAAAV3KrmjtgY+IE8plctpaGDnk4hONRVJyhxsl1b2a7Cpjpp+uaVn DAUSpwdq08BMppmyXiYD79NKNTbM26lvQvyTP4w= X-Received: by 2002:a2e:9cc9:: with SMTP id g9mr16376348ljj.188.1571704626347; Mon, 21 Oct 2019 17:37:06 -0700 (PDT) MIME-Version: 1.0 References: <20190827180622.159326993@infradead.org> <20190827181147.166658077@infradead.org> <20191002182106.GC4643@worktop.programming.kicks-ass.net> <20191003181045.7fb1a5b3@gandalf.local.home> <20191004112237.GA19463@hirez.programming.kicks-ass.net> <20191004094228.5a5774fe@gandalf.local.home> In-Reply-To: <20191004094228.5a5774fe@gandalf.local.home> From: Alexei Starovoitov Date: Mon, 21 Oct 2019 17:36:54 -0700 Message-ID: Subject: Re: [PATCH 3/3] x86/ftrace: Use text_poke() To: Steven Rostedt Cc: Peter Zijlstra , Daniel Bristot de Oliveira , LKML , X86 ML , Nadav Amit , Andy Lutomirski , Dave Hansen , Song Liu , Masami Hiramatsu 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 Fri, Oct 4, 2019 at 6:45 AM Steven Rostedt wrote: > > On Fri, 4 Oct 2019 13:22:37 +0200 > Peter Zijlstra wrote: > > > On Thu, Oct 03, 2019 at 06:10:45PM -0400, Steven Rostedt wrote: > > > But still, we are going from 120 to 660 IPIs for every CPU. Not saying > > > it's a problem, but something that we should note. Someone (those that > > > don't like kernel interference) may complain. > > > > It is machine wide function tracing, interference is going to happen.. > > :-) > > > > Anyway, we can grow the batch size if sufficient benefit can be shown to > > exist. > > Yeah, I was thinking that we just go with these patches and then fix > the IPI issue when someone starts complaining ;-) > > Anyway, is this series ready to go? I can pull them in (I guess I > should get an ack from Thomas or Ingo as they are x86 specific). I'm > currently working on code that affects the same code paths as this > patch, and would like to build my changes on top of this, instead of > monkeying around with major conflicts. What is the status of this set ? Steven, did you apply it ?