Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7487853ybp; Wed, 16 Oct 2019 09:22:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqzsO9edFJTiB3CtTdjyYoUvAnkxayucerRasxMdjbnMcKpDEd+/GwDbroDoHi04DuuYxDQj X-Received: by 2002:a17:906:31d4:: with SMTP id f20mr10439949ejf.265.1571242920590; Wed, 16 Oct 2019 09:22:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571242920; cv=none; d=google.com; s=arc-20160816; b=sgZcu9pXq7hdr7nE4Y2vlY0vRP4ZjQ0ksv5s1kcTsgCQSPp/HMFzeObgCeET6aVShL 8QaVTUOnupqyLfO+n8rn1xFSLG4vaB2LvGMof6HOMEFjytcNDr6h6HGmUqIA8wVNmBXl 1yOINmMoOZecbnJXD1U1nTHN/cXduG7zy+7kF9T9sMD3ywZQPi7xXBGk3mozw9nLLclA BbApGvmKyXFlj+jV6nhKpBxc6vTfFSH2sWOCMb+DcDXSSI5peBRfsLzW+Kx6GffBpgbt Q+Zz8SZiLhTPrI+42rVWLuYXcQAt4mkFIWyfw/chlmYwxQs0M6BciGZl058Zzx7GBtzy uKbQ== 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=wL0YZ0mJiWpQ95Df6nkaO89DoEjHykb7gUiOSgSO5Ns=; b=fTtrWqRiWC3QcQ70hv/FwuaCneBHB7dQYJ9OqQQarpAHx9/rqHLQzxrSqDsYqU/o0Z 5teZSKmLhDVzI6ydZvY9aXrc2TUCFGsEeJp9+km6NhQ/ODgsuCSB5gvsb8d2oj4J60hW S1Nv84/54npt93C/8RCGsc27aEdDlgLi438KGPMuArFQUCF6b6NdcDHi0QPW9dIo8GRR WKxS6BKdxPlTd/eA8HJtQC4qhE8OBzRwZvu6TMlczggV/g/b619rMaAF9qxXNd04VRQS iK1pz1/G8pKRedQnFZSH/R+lVYj5dnOUXIElSL0ChIG0f4SxEb18JhCImtQmo8EYM/BF 2aQw== 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 ly13si8795419ejb.258.2019.10.16.09.21.37; Wed, 16 Oct 2019 09:22:00 -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 S2392378AbfJPOZH (ORCPT + 99 others); Wed, 16 Oct 2019 10:25:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:55464 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726750AbfJPOZH (ORCPT ); Wed, 16 Oct 2019 10:25:07 -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 1D3D0218DE; Wed, 16 Oct 2019 14:25:06 +0000 (UTC) Date: Wed, 16 Oct 2019 10:25:04 -0400 From: Steven Rostedt To: Miroslav Benes Cc: mingo@redhat.com, jpoimboe@redhat.com, jikos@kernel.org, pmladek@suse.com, joe.lawrence@redhat.com, linux-kernel@vger.kernel.org, live-patching@vger.kernel.org, shuah@kernel.org, kamalesh@linux.vnet.ibm.com, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v3 1/3] ftrace: Introduce PERMANENT ftrace_ops flag Message-ID: <20191016102504.274fc88d@gandalf.local.home> In-Reply-To: <20191016094853.3913f5ae@gandalf.local.home> References: <20191016113316.13415-1-mbenes@suse.cz> <20191016113316.13415-2-mbenes@suse.cz> <20191016094853.3913f5ae@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 Wed, 16 Oct 2019 09:48:53 -0400 Steven Rostedt wrote: > @@ -6796,10 +6798,12 @@ ftrace_enable_sysctl(struct ctl_table *table, int write, > > ret = proc_dointvec(table, write, buffer, lenp, ppos); As you just stated on IRC, the update to ftrace_enabled gets updated in the above routine. I forgot about this :-/ (Senior moment) I guess there's nothing to worry about here. -- Steve > > - if (ret || !write || (last_ftrace_enabled == !!ftrace_enabled)) > + if (ret || !write || (ftrace_enabled == !!sysctl_ftrace_enabled)) > goto out; >