Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8635156imu; Tue, 4 Dec 2018 11:31:42 -0800 (PST) X-Google-Smtp-Source: AFSGD/WefyK2cZh4wnSk2cTQusvDSSEPgFTvqDzz0huI24izp3IwGruoBXV80iP+H8YOHblZivUU X-Received: by 2002:a17:902:bd0b:: with SMTP id p11mr1839959pls.259.1543951902749; Tue, 04 Dec 2018 11:31:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543951902; cv=none; d=google.com; s=arc-20160816; b=a9LjOCOMzf9H5RbQ/GUMmL5DZIVxPRSWsKCllxhcM2K+jjlp33hP2CySvGY4SapYf3 fwW1GaqUM64rAEtfaRvDYWE64WFD+PMC3kVE4lD4sioqNgoweIZk//yEgNutXw57DRrY 4uW+crTNgOdV8/xja5uDkvw8tMfxrTWsBlCA+GcfG9eMoNXFLQakvaV/+rmVQnhJTN6v O60U5CD80Ube2stQxne+J+N0nu8cOVNK7iyPV1gq4AzVS8UeM9qtMxCMa7BQcXlPEcP2 pD91Fi1gHjxfXTR1rcdwTODFixE4O+wtmTrJe42kirZEANv/tKe4NUaYVAHusw9jGcxe Uj7g== 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=xFZIaC3bR8oIcV6Occ+MjgyCtzdo1XCPLR6Oxcxd590=; b=RdZg/f3sTODepuvq6oWWBKfCVUd+OloSV+OJ8RF8q14AwyrnaJl4YKOsW5m5GQptjy TD5MqBZCW7ozcOuBG5UnDposwWN9S6ng4ZqmJV5XnOFd1RBLn9ur9/f6Tp+/qY1zqJCk OU20vzfsuvqVAOsR/psaqN12EWRBY7evlxvbBWb2yOTMQbgaKeXdOxQYTwrTKP95o2CF lt55Wnjmm8cmMwT3blcXZmLRdvLFzcUfLOal8Q4I0WeP4tlasl61Nw4PwWwX27hbmYcw t2+QjnHIKhR/FJrjm+FMwIbNb15BIenvfczOPQXNBBJBr73CnbsH7aqnhw9m4l9CM5JC bSnA== 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 y20si16406628plr.106.2018.12.04.11.31.27; Tue, 04 Dec 2018 11:31:42 -0800 (PST) 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 S1726172AbeLDT3V (ORCPT + 99 others); Tue, 4 Dec 2018 14:29:21 -0500 Received: from mail.kernel.org ([198.145.29.99]:39062 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725841AbeLDT3V (ORCPT ); Tue, 4 Dec 2018 14:29:21 -0500 Received: from vmware.local.home (unknown [208.91.3.26]) (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 A97CE206B7; Tue, 4 Dec 2018 19:29:20 +0000 (UTC) Date: Tue, 4 Dec 2018 14:29:18 -0500 From: Steven Rostedt To: Anders Roxell Cc: mingo@redhat.com, Catalin Marinas , Will Deacon , Kees Cook , Arnd Bergmann , Linux Kernel Mailing List , Linux ARM Subject: Re: [PATCH] tracing: add cond_resched to ftrace_replace_code() Message-ID: <20181204142918.12c087b4@vmware.local.home> In-Reply-To: References: <20181204191229.6851-1-anders.roxell@linaro.org> <20181204141908.76e7afa5@vmware.local.home> <20181204142142.4e2e2169@vmware.local.home> X-Mailer: Claws Mail 3.15.1 (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 Tue, 4 Dec 2018 20:25:31 +0100 Anders Roxell wrote: > On Tue, 4 Dec 2018 at 20:21, Steven Rostedt wrote: > > > > On Tue, 4 Dec 2018 14:19:08 -0500 > > Steven Rostedt wrote: > > > > > > @@ -2435,6 +2438,13 @@ void __weak ftrace_replace_code(int enable) > > > > /* Stop processing */ > > > > return; > > > > } > > > > + /* > > > > + * Some archs calls this function with interrupts or preemption > > > > + * disabled. Howeve, other archs don't and this can cause a > > > > typo "However". But could you write it this way: > > > > "However, for other archs that can preempt, this can cause an > > tremendous unneeded latency." > > > > I'll fix this and move it up (where I added it in the first place but > moved it) =) > I also noticed a grammar issue: "Some archs call this function .." -- Steve