Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp5562595imm; Tue, 12 Jun 2018 09:39:31 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJZX/VKsCu77B7y8dqbbCosKG1A4Mk15hAPxR0AIuykS0IiSn9IJ7wOWBP5eplOaDIyGSPv X-Received: by 2002:a65:4ecd:: with SMTP id w13-v6mr980308pgq.214.1528821571792; Tue, 12 Jun 2018 09:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528821571; cv=none; d=google.com; s=arc-20160816; b=ukCa6euNaaZZz+065LJSaxogQsPB8O20WoPEkpBT+MYsomo8JGM5OGvf43NAjzSGia +Zofc51ECDpxFGi6o4uEyxiG71ZhJ0V3/wGRuYNj1oMDK+NarPYH70HytzRlWykJxeVX OyyWbuWgJZw3LsJDcdfLk5/Y1/ApWkZaUc+3yIdwoAt+NdwAQ+Z/QdDG0zQw2IIt+kVA ige9qMsdtuA8pnjum/PE8GYvdFAlu9QL5K4Ze4wIpBLyZqcm0EVPPvCAWIuWgUa1vd+b plAKrrCGiR4ur4Bd2H3zw0DWFR/0IxsexCLLRRQX0cC0R3UfShyYfHvuKE7RuXeIvA1v Yt/g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:in-reply-to :subject:cc:to:from:date:arc-authentication-results; bh=7HK6wIWSstz/zOW0bXWOf7kO3RSl7HKmZDrFI5hz5qo=; b=jDWRstbloIMzcYzTL7K+Dp7UJZhmgi+JG92G5ayxjea6codOzV/Md7H5yf78N9/Kvd sPsZ/v3pT8uvnPzHS/MGfseQdNlWbr9wtCz3uTxSpmCDd0Wj5+iNmoganNrLw6/YORUg KU2ki6ARE5XrLkB0ON07AuMYC5w3tiH2eAFgV5btXbt5m/kIH/2kZMZOVfSAmfX0NFc9 zV9OlZxiAs6s3aiMgeoblbCBh+stT36G6jQXttjgXDtsjiuLwxdmJTfB1xId8VfIRGi5 +U1hi3WZmyxs75GeEIHc2qZbavSXyCEfwtZnkDxTTSFZTzCTCLYPURX2Z2w/h3OQ0tfE dLnQ== 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 b9-v6si441869pfh.358.2018.06.12.09.39.17; Tue, 12 Jun 2018 09:39:31 -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 S934221AbeFLQiu (ORCPT + 99 others); Tue, 12 Jun 2018 12:38:50 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:47606 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S933638AbeFLQit (ORCPT ); Tue, 12 Jun 2018 12:38:49 -0400 Received: (qmail 4613 invoked by uid 2102); 12 Jun 2018 12:38:48 -0400 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 12 Jun 2018 12:38:48 -0400 Date: Tue, 12 Jun 2018 12:38:48 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: Mikulas Patocka cc: Ming Lei , Greg Kroah-Hartman , USB list , Kernel development list Subject: Re: [PATCH] usb: don't offload isochronous urb completions to ksoftirq In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 12 Jun 2018, Mikulas Patocka wrote: > > How about making the softirq thread's priority adjustable? > > But you would have to argue with softirq maintainers about it - and you > say that you don't have time for that. But maybe _you_ do... > > As for coordinating with the softirq maintainers -- whether I want to > > or not isn't the issue. Right now I don't have _time_ to do it. > > > > Alan Stern > > I am wondering - whats the purpose of that patch > 428aac8a81058e2303677a8fbf26670229e51d3a at all? The patch shows some > performance difference, but they are minor, about 1%. > > If you want to call the urb callback as soon as possible - why don't you > just call it? Why do you need to offload the callback to a softirq thread? Please read the Changelog entry for commit 94dfd7edfd5c. Basically the idea was to reduce overall latency by not doing as much work in an interrupt handler. Alan Stern