Received: by 10.223.185.116 with SMTP id b49csp2115080wrg; Thu, 22 Feb 2018 08:21:35 -0800 (PST) X-Google-Smtp-Source: AH8x2273v+Chyx932/xOd+i0WGfu6aMsSMXrDqKs0AjeFXUj9lt5xeeVzhgrU4iHcjND71tUc9fg X-Received: by 10.99.37.7 with SMTP id l7mr6112513pgl.311.1519316495168; Thu, 22 Feb 2018 08:21:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519316495; cv=none; d=google.com; s=arc-20160816; b=hZZFt9NXcvawIsGmPV6lp7mIfeHAeRsOU7KRRGqv9I7oWi8IgRKe6pnL26mMnXTjXB BrMVTCLHBEu94kdQMOy1tOrl5Nvx1EZh+rVzVCyvyoUHE8h+XOQ0SP5h3pyLWHEWGGpL GOPTsneMxWzZbFwRtBaK0p/wTPPFYsLosIHbqvZwzzQqfR4cs4HrvQucHm67HTUlu4Vv 9KYJAEW0/zONsR86UzI2VI+cl8Zm0CZArQpD3qy4MZsKLXbK26EBXPB37Uz5Q/jvvGHZ /zBkxE9uz/Bm4PAaW8WMySswPZ7iPAwPJFilWD3JWIzF/z59Oc6RPIKX2juG1f9+s35r NImQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=Biapm5ufh98CCF3UVVWWVJQyq/vl+6hyMlyEsnr1ekk=; b=Gt15awYSzEzFDvuFqiqA3np08SMc6CqAOC7AlencaOR2eHRPiWEQbZcxWVDgMBFs5I 3pikcTwT0qV4UtXXiRG6kN+BFh/3OXs8KHYczFFNvHBZFhsSOBs9cYi46+7q4XXmkLR1 0+XaxF4DSZIILZNSyQKApwdzAXa5tweABR6Q8CvYs6NdLb0xi+V0CHvSnoS5RyJ5A1WD DxGXEl5KPjanIdCxQYi2QDK72cGdDx+K4SL1dsG6TZxmUxkl/czEZMhfT+wxpcf4m3mK PuiGi8Hux2ejF/vOzxj/35e12YZSfGocx29I+XtCrwhnS3CU4Y6nlcTV/izcBT2f9XxE FMWQ== 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 x7-v6si234715plo.351.2018.02.22.08.21.20; Thu, 22 Feb 2018 08:21:35 -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 S933270AbeBVQT6 (ORCPT + 99 others); Thu, 22 Feb 2018 11:19:58 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:39532 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933134AbeBVQT4 (ORCPT ); Thu, 22 Feb 2018 11:19:56 -0500 Received: from bigeasy by Galois.linutronix.de with local (Exim 4.80) (envelope-from ) id 1eotXj-0004zG-3c; Thu, 22 Feb 2018 17:16:23 +0100 Date: Thu, 22 Feb 2018 17:19:50 +0100 From: Sebastian Andrzej Siewior To: Alan Stern Cc: Mauro Carvalho Chehab , Frederic Weisbecker , LKML , Peter Zijlstra , Thomas Gleixner , linux-usb@vger.kernel.org Subject: Re: [RFC PATCH] usb: hcd: complete URBs in threaded-IRQ context instead of tasklet Message-ID: <20180222161949.3prjzbvkss4hjj2c@linutronix.de> References: <20180216203808.23mvv4mtz6khhwfv@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-02-16 16:46:41 [-0500], Alan Stern wrote: > > The theaded interrupt runs SCHED_FIFO priority 50 by default. The only > > thing that can interrupt it are interrupts, a softirq (not ksoftirqd) > > and other tasks with a higher priority than 50. > > There should be no downside performance wise. > > Maybe. It would be nice to see some real measurements. I had an usb3 flash stick behind the EHCI controller which was passed through from the host to a kvm guest. The performance numbers in the guest were equal (some noise was there) with and without the patch. The numbers with the patch were worse if lockdep was enabled which isn't much of a surprise. If you have anything specific requirements for a measurement then please let me know and I see what I can do. > Alan Stern Sebastian