From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753100AbcCGPcG (ORCPT ); Mon, 7 Mar 2016 10:32:06 -0500 Received: from www.linutronix.de ([62.245.132.108]:45435 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752413AbcCGPb5 (ORCPT ); Mon, 7 Mar 2016 10:31:57 -0500 Subject: Re: Softirq priority inversion from "softirq: reduce latencies" To: Mike Galbraith , Francois Romieu References: <56D1E8B6.6090003@hurleysoftware.com> <1456638957.3676.12.camel@gmail.com> <20160228170109.GA16322@electric-eye.fr.zoreil.com> <1456721889.3488.67.camel@gmail.com> Cc: Peter Hurley , Eric Dumazet , David Miller , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Greg KH , dmaengine@vger.kernel.org, John Ogness , Andrew Morton From: Sebastian Andrzej Siewior Message-ID: <56DD9EE8.1010909@linutronix.de> Date: Mon, 7 Mar 2016 16:31:52 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.6.0 MIME-Version: 1.0 In-Reply-To: <1456721889.3488.67.camel@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02/29/2016 05:58 AM, Mike Galbraith wrote: > WRT -rt: if dma tasklets really do have hard (ish) constraints, -rt > recently "broke" in the same way.. of all softirqs which are deferred > to kthread context, due to a recent change, only timer/hrtimer are > executed at realtime priority by default. no. All softirqs are invoked in the context of the current process that triggerd the softirq invocation. If NAPI goes on for too long (or other softirq can't be executed in this context) it will continue in the ksoftirqd. And this threads runs at a normal priority like it does in mainline. I adjusted it with mainline. > -Mike > Sebastian