lkml.org 
[lkml]   [2018]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: High-priority softirqs [was: [PATCH] usb: don't offload isochronous urb completions to ksoftirq]
On Fri, 15 Jun 2018 17:05:01 -0400 (EDT)
Mikulas Patocka <mpatocka@redhat.com> wrote:


> I don't think that threaded interrupt handlers are a good idea.
>
> There are existing tools such as rtkit in Linux distributions that
> increase the priority of audio applications to real time. And if rtkit
> increases the priority of audio player or audio server above the priority
> of the interrupt thread that handles the soundcard - sound playback is
> screwed.
>
> You would have to set the priority of the interrupt thread to the highest
> real-time priority - and in such a case, the interrupt thread is no
> different than a hard-irq handler.

Perhaps rtkit et.al. should be updated to know about interrupt threads.
It's pretty trivial to know about them and that can easily be
automated. The only problem is to keep the irq thread higher than the
audio server. And we always tell people to never put a thread to the
maximum priority unless they had a damn good reason to do so.

-- Steve

\
 
 \ /
  Last update: 2018-06-15 23:14    [W:0.804 / U:0.112 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site