login
Login
/
Register
Search
Header Space
Forums
News
Jobs
Blogs
Features
Man Pages
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
December
»
19
Re: [patch 2/3] Enable setting of IRQ-thread priorities from kernel cmdline (repost:CC to LKML)
view
thread
Score:
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Randy Dunlap <randy.dunlap@...>
To: Remy Bohmer <linux@...>
Cc: Steven Rostedt <rostedt@...>, Arnaldo Carvalho de Melo <acme@...>, Ingo Molnar <mingo@...>, Juergen Beisert <jbe@...>, Darren Hart <dvhltc@...>, <linux-rt-users@...>, Sven-Thorsten Dietrich <sdietrich@...>, LKML <linux-kernel@...>
Subject:
Re: [patch 2/3] Enable setting of IRQ-thread priorities from kernel cmdline (repost:CC to LKML)
Date: Wednesday, December 19, 2007 - 4:51 pm
On Wed, 19 Dec 2007 20:45:53 +0100 Remy Bohmer wrote:
quoted text
> Documentation/kernel-parameters.txt | 7 ++ > include/linux/irq.h | 1 > kernel/irq/manage.c | 101 ++++++++++++++++++++++++++++++++---- > 3 files changed, 98 insertions(+), 11 deletions(-) > > Index: linux-2.6.24-rc5-rt1/Documentation/kernel-parameters.txt > =================================================================== > --- linux-2.6.24-rc5-rt1.orig/Documentation/kernel-parameters.txt 2007-12-18 22:09:13.000000000 +0100 > +++ linux-2.6.24-rc5-rt1/Documentation/kernel-parameters.txt 2007-12-18 22:09:16.000000000 +0100 > @@ -799,6 +799,13 @@ and is between 256 and 4096 characters. > ips= [HW,SCSI] Adaptec / IBM ServeRAID controller > See header of drivers/scsi/ips.c. > > + irq_pmap= [IRQ-threading] List of priorities each interrupt > + thread must have. > + Format: irq_pmap=megasas:90,eth0:40,50 > + The first field without ':', is the default prio.
Drop comma.
quoted text
> + If this cmdline argument is ommitted, every thread
omitted,
quoted text
> + runs at prio 50. > + > ports= [IP_VS_FTP] IPVS ftp helper module > Default is 21. > Up to 8 (IP_VS_APP_MAX_PORTS) ports
quoted text
> Index: linux-2.6.24-rc5-rt1/kernel/irq/manage.c > =================================================================== > --- linux-2.6.24-rc5-rt1.orig/kernel/irq/manage.c 2007-12-18 22:09:13.000000000 +0100 > +++ linux-2.6.24-rc5-rt1/kernel/irq/manage.c 2007-12-18 22:15:43.000000000 +0100
quoted text
> @@ -901,3 +918,65 @@ void __init early_init_hardirqs(void) > for (i = 0; i < NR_IRQS; i++) > init_waitqueue_head(&irq_desc[i].wait_for_handler); > } > + > +#ifdef CONFIG_PREEMPT_HARDIRQS > + > +/* > + * Lookup the interrupt thread priority > + * A map for the priorities can be given on the kernel commandline. > + * if name is NULL, or no kernel commandline options is given, the default
If ...................................... option is given,
quoted text
> + * prio is used, which is either MAX_PRIO/2, or the default given on the > + * kernel commandline. > + */ > +static int get_irq_prio(const char *name) > +{
--- ~Randy --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[patch 2/3] Enable setting of IRQ-thread priorities from ker...
, Remy Bohmer
, (Wed Dec 19, 3:45 pm)
Re: [patch 2/3] Enable setting of IRQ-thread priorities from...
, Jaswinder Singh
, (Thu Dec 20, 8:02 am)
Re: [patch 2/3] Enable setting of IRQ-thread priorities from...
, Randy Dunlap
, (Wed Dec 19, 4:51 pm)
Navigation
Create content
Mailing list archives
Recent posts
Mail archive search
Enter your search terms.
all mailing lists
alsa-devel
dragonflybsd-bugs
dragonflybsd-commit
dragonflybsd-docs
dragonflybsd-kernel
dragonflybsd-submit
dragonflybsd-user
freebsd-announce
freebsd-bugs
freebsd-chat
freebsd-cluster
freebsd-current
freebsd-drivers
freebsd-embeded
freebsd-fs
freebsd-hackers
freebsd-hardware
freebsd-mobile
freebsd-net
freebsd-performance
freebsd-pf
freebsd-security
freebsd-security-notifications
freebsd-threads
git
git-commits-head
linux-activists
linux-arm
linux-ath5k-devel
linux-btrfs
linux-c-programming
linux-driver-devel
linux-ext4
linux-fsdevel
linux-ia64
linux-input
linux-kernel
linux-kernel-janitors
linux-kernel-mentors
linux-kernel-newbies
linux-kvm
linux-net
linux-netdev
linux-newbie
linux-nfs
linux-raid
linux-scsi
linux-security-module
linux-sparse
linux-usb
linux-usb-devel
madwifi-devel
netbsd-announce
netbsd-tech-kern
open-graphics
open-graphics-announce-kt
openbsd-announce
openbsd-bugs
openbsd-ipv6
openbsd-misc
openbsd-security-announce
openbsd-smp
openbsd-source-changes
openbsd-tech
openfabrics-general
openmoko-community
openmoko-devel
openmoko-kernel
reiserfs-devel
tux3
ucarp
Optionally limit your search to a specific mailing list.
advanced
Popular discussions
linux-kernel
:
Peter Zijlstra
Re: Quad core CPUs loaded at only 50% when running a CPU and mmap intensive multi-...
Satyam Sharma
[-mm patchset] War on warnings
Izik Eidus
[PATCH 0/4] ksm - dynamic page sharing driver for linux
Renato S. Yamane
Error -71 on device descriptor read/all
git
:
Martin Langhoff
Handling large files with GIT
Wincent Colaiuta
Rebase/cherry-picking idea
Linus Torvalds
People unaware of the importance of "git gc"?
Joe Fiorini
Undo git-rm without commit?
openbsd-misc
:
Christian Weisgerber
Re: libiconv problem
Peter
OpenBSD as Virtualbox guest
Brandon Lee
DELL PERC 5iR slow performance
Martin Toft
Trying to compile cwm on Linux
linux-netdev
:
Alexey Dobriyan
[PATCH 01/53] xfrm: initialise xfrm_policy_gc_work statically
Arjan van de Ven
Printing the driver name as part of the netdev watchdog message
Dushan Tcholich
Re: ksoftirqd high cpu load on kernels 2.6.24 to 2.6.27-rc1-mm1
Inaky Perez-Gonzalez
[PATCH 03/39] wimax: constants and definitions to interact with user space
Latest forum posts
sis190/191 gigabit ethernet driver
1 hour ago
Linux general
read /dev/mem not working in 2.6
1 day ago
Linux general
Fedora with Windows vista : windows explorer restarts
1 day ago
Windows
Intel Graphics Drivers (IEGD 9.0.2) - help in patching for kernels > 2.6.24
1 day ago
Linux kernel
Porting from Windows to Linux
1 day ago
Linux general
Serial Driver Implementation Help
2 days ago
Linux kernel
aacraid bad
2 days ago
Linux general
Tools: GCC 3.4.6, Final GCC 3 Release
3 days ago
Applications and Utilities
GNU/Hurd is so awful
4 days ago
GNU/Hurd
Issues with NETLINK sockets
1 week ago
Linux kernel
Show all forums...
Recent Tags
more tags
Colocation donated by:
Who's online
There are currently
2 users
and
787 guests
online.
Online users
Jeremy
zamb
Syndicate
speck-geostationary