From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 46754C04EBF for ; Tue, 4 Dec 2018 19:29:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 11ECF20850 for ; Tue, 4 Dec 2018 19:29:23 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 11ECF20850 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726179AbeLDT3V (ORCPT ); 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