Received: by 10.223.164.221 with SMTP id h29csp1230181wrb; Wed, 1 Nov 2017 12:41:17 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TUMH15apndyThP4dM4+KnYgmMVUGjoG9fhU7ijv52NLmU8D+IsUckYRAcDTiNmX4SZ6et+ X-Received: by 10.98.111.71 with SMTP id k68mr975016pfc.91.1509565276939; Wed, 01 Nov 2017 12:41:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509565276; cv=none; d=google.com; s=arc-20160816; b=JG1z43MSp1gRjX+1gZ5r5MhuuPWdMg51S6W9OFs7QOpEmC3jZQFV005mJJhkpn2Faa DGLM5g7ukSlx9wt1PwLboT5fPEXIvSBSUO3LbmoVorGcpIzHTSrz0Y/YMm+fkCRQ66oQ DIoUJtdMphGAcUAwLr+p2eDOtbpZqxlD1ptAHEpivMsTUQsrGXGjRwJfmRD117bVK2Gn 9UagzAwOV0NDn3GqsWZlEVQDiIky/cC9fShOFyD2uKKPT3AZMw2O/TNER3Z0qZ0y3+RL C0N+5e8a5LxOmPTPRIAkvNHKpjrRa9PwIaIshlPkwXzl0dYRfO2MKJd6h1Xe1W+0cWaV SUUw== 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:in-reply-to :mime-version:user-agent:date:message-id:from:references:cc:to :subject:arc-authentication-results; bh=ZK2lQFuJsssxNE2qMuCgTNNHVlEDHMOrhTyZyLmIiqw=; b=nZ0U+MzGsQAr/TYXkFVkjL3HgW9u+qaxkYfCvAXdRVu0uol+crlNWQK8vjklguxO3U 2bCghLAyhqVBOfjAJdtV1+lOTVDIE4/0tGHTncVUze64NpxGYPwRzUWMF4DbgXVY4IHY CmhDwhae/7DSrq8Md4CwxK1r36qq22fTBYUidfsEXIdly46YNxVtEJAKDncSO6H7LCxc RQuITGI71jo85ZXiCoXmyB3LtSsrlMxdt+MuIRaAc2uSjWuDtRRtUipnrHo9dHhRMawy ZV4ROP1fHAnt5KigKJj7NLjVdhkWMLnnZcTMnao6nQ9rv4yRnHot7Ttv19fsXuPmf7Ny 0NsQ== 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 72si1847689pfm.40.2017.11.01.12.41.03; Wed, 01 Nov 2017 12:41:16 -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 S1755216AbdKATis (ORCPT + 99 others); Wed, 1 Nov 2017 15:38:48 -0400 Received: from smtp2-g21.free.fr ([212.27.42.2]:25520 "EHLO smtp2-g21.free.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755081AbdKATiq (ORCPT ); Wed, 1 Nov 2017 15:38:46 -0400 Received: from [192.168.0.66] (unknown [88.191.210.51]) by smtp2-g21.free.fr (Postfix) with ESMTP id 756D42003E9; Wed, 1 Nov 2017 20:38:44 +0100 (CET) Subject: Re: [RFC] Improving udelay/ndelay on platforms where that is possible To: Linus Torvalds Cc: Alan Cox , LKML , Linux ARM , Steven Rostedt , Ingo Molnar , Thomas Gleixner , Peter Zijlstra , John Stultz , Douglas Anderson , Nicolas Pitre , Mark Rutland , Will Deacon , Jonathan Austin , Arnd Bergmann , Kevin Hilman , Russell King , Michael Turquette , Stephen Boyd , Mason References: <20171101175325.2557ce85@alans-desktop> <4b707ce0-6067-ab36-e167-1acf348d26bf@free.fr> From: Marc Gonzalez Message-ID: Date: Wed, 1 Nov 2017 20:38:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/11/2017 20:09, Linus Torvalds wrote: > On Wed, Nov 1, 2017 at 12:03 PM, Marc Gonzalez wrote: > >> By default, ndelay is implemented in terms of udelay. > > That's very much *NOT* the case. > > Yes, there is a *fallback* for when somebody doesn't do ndelay() at > all, but that doesn't make it the default. > > It's just a "the architecture didn't implement ndelay at all, we'll > work around it". Yes, sorry, I wrote "default" when I meant "fallback". (arm32 currently does not define a specific ndelay implementation.) > So stop this idiocy already. About half of what I've seen in this > thread has been pure garbage. OK, I'll just send my patch, and then crawl back under my rock. Regards. From 1582893894655287236@xxx Wed Nov 01 19:40:52 +0000 2017 X-GM-THRID: 1582790467810046578 X-Gmail-Labels: Inbox,Category Forums