All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Sigler <linux.kernel@free.fr>
To: linux-rt-users@vger.kernel.org
Subject: Priorities of IRQ handlers
Date: Mon, 26 Nov 2007 16:31:19 +0100	[thread overview]
Message-ID: <474AE6C7.4090204@free.fr> (raw)

Hello everyone,

I'm running 2.6.22.1-rt9 on x86.

CONFIG_PREEMPT_RT=y
CONFIG_PREEMPT=y
CONFIG_PREEMPT_SOFTIRQS=y
CONFIG_PREEMPT_HARDIRQS=y
CONFIG_PREEMPT_BKL=y
# CONFIG_CLASSIC_RCU is not set
CONFIG_PREEMPT_RCU=y

I need to change the priorities of several soft and hard IRQ handlers.

Namely,

o reduce the prio of "softirq-timer" handler to 10

o reduce the prio of IRQ14 and IRQ15 handlers to 20
   (my flash drives do not support DMA BTW...)

o boost the prio of my I/O boards' IRQ handlers to 60
   (there can be 1 or 2 boards, the driver is a kernel module
    which is loaded after the system has booted.)

I've written a short program that calls
   sched_setscheduler(pid, SCHED_FIFO, &param);
with the appropriate pid, which I look up using ps -ef

I need to automate the process of tweaking priorities.

Can someone offer advice and / or pointers?

Regards.

             reply	other threads:[~2007-11-26 15:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 15:31 John Sigler [this message]
2007-11-27 16:26 ` Priorities of IRQ handlers Steven Rostedt
2007-11-28 11:05   ` John Sigler
2007-11-28 14:12     ` K.R. Foley
2007-11-28 15:02       ` Arnaldo Carvalho de Melo
2007-11-28 21:38       ` Sven-Thorsten Dietrich
2007-11-30 11:26     ` Dominique Michel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=474AE6C7.4090204@free.fr \
    --to=linux.kernel@free.fr \
    --cc=linux-rt-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.