Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp2397706ybp; Thu, 10 Oct 2019 06:53:51 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWTSJvaCY4H+4dJEmFbeDUNO9hvc3Oc5YRhO7vav+Ua7a+OPCuBm99QMNd0hPxhX7kHs6G X-Received: by 2002:a05:6402:2042:: with SMTP id bc2mr8383858edb.12.1570715631678; Thu, 10 Oct 2019 06:53:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570715631; cv=none; d=google.com; s=arc-20160816; b=njMI5qTf8foYU/ZFjLic1HL8W3gTHnTJkkySqARRlgwMztW/bqOsp1TfOZXcXXK5Kg SKLB5GqMQpYHvB980uH1Bl8R8whZbd2sJ55cMxR569ziGRhozZ8IMGCTsbxBMO3Bu55P Q2AeTGxN8sPJFXz/DahYwCcWXekw+UyAfdJqZPnRZIhCRFg7J7W/zILgFoERYxHvICpe xCJM9QDSinJatkhP1qhy+Sm2NelfYo2abmtxYirNjf6NQPZzC8Z1M0VCUv0DV0WNHyYZ 9goC9y10xOh0vYjRLmfhFCcxuEIxX0s6afz80v9QHl8aLrV0/2+yglYtdMLq8OmomlcO E1kA== 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=MZTaOurllIzz3+7R2yOq0tcnfGYaANl9Po85DOu2/dE=; b=x8G4rGbBHz7OSE0wFCCPkp95WDunudsDNxNV7SVl+Hg1DeZkSzNTR8D9yneH6NQtUM A+ReaSjNOSGn4WLAGKPIHJKaprz0gtdTHreyyMivC+efUV1MuJHp+1q8WXYqVKdDusi9 MK+d2KGssmW1KktHhVWUcoxNqC9ScMp0tYT8a7zfuFBK6H62rcwFniy+KYCJaMrbKYKu iGfAZbQGxYl9YaAMkZGnttmzDyLOpAqCq/o+7BeDXNZaKlGfGaNBvSrL0NPBb5tidz6D 4B2zhZ8C4Ru3ZPTJXFDJY+/+LY+nDzWsiuvsl9TdZD3dfOYn+GSSn/mPAQysYN00Td9q 7C1A== 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 ch13si3111893ejb.203.2019.10.10.06.53.27; Thu, 10 Oct 2019 06:53:51 -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 S1726078AbfJJNu4 (ORCPT + 99 others); Thu, 10 Oct 2019 09:50:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:43396 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725932AbfJJNuz (ORCPT ); Thu, 10 Oct 2019 09:50:55 -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 456AE2067B; Thu, 10 Oct 2019 13:43:55 +0000 (UTC) Date: Thu, 10 Oct 2019 09:43:52 -0400 From: Steven Rostedt To: Miroslav Benes Cc: Petr Mladek , jikos@kernel.org, Joe Lawrence , jpoimboe@redhat.com, mingo@redhat.com, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org Subject: Re: [PATCH 0/3] ftrace: Introduce PERMANENT ftrace_ops flag Message-ID: <20191010094352.35056c84@gandalf.local.home> In-Reply-To: References: <20191007081714.20259-1-mbenes@suse.cz> <20191008193534.GA16675@redhat.com> <20191009112234.bi7lvp4pvmna26vz@pathway.suse.cz> <20191009102654.501ad7c3@gandalf.local.home> <20191010085035.emsdks6xecazqc6k@pathway.suse.cz> <20191010091403.5ecf0fdb@gandalf.local.home> 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 Thu, 10 Oct 2019 15:38:20 +0200 (CEST) Miroslav Benes wrote: > On Thu, 10 Oct 2019, Steven Rostedt wrote: > > > On Thu, 10 Oct 2019 10:50:35 +0200 > > Petr Mladek wrote: > > > > > It will make the flag unusable for other ftrace users. But it > > > will be already be the case when it can't be disabled. > > > > Honestly, I hate that flag. Most people don't even know about it. It > > was added in the beginning of ftrace as a way to stop function tracing > > in the latency tracer. But that use case has been obsoleted by > > 328df4759c03e ("tracing: Add function-trace option to disable function > > tracing of latency tracers"). I may just remove the damn thing and only > > add it back if somebody complains about it. > > That would of course solve the issue too and code removal is always > better. > Yes, but let's still add the patch that does the permanent check. And then I'll put the "remove this flag" patch on top (and revert everything else). This way, if somebody complains, and Linus reverts the removal patch, we don't end up breaking live kernel patching again ;-) -- Steve