mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Remy Bohmer <linux@bohmer.net>
Cc: Steven Rostedt <rostedt@goodmis.org>,
	Arnaldo Carvalho de Melo <acme@ghostprotocols.net>,
	Ingo Molnar <mingo@elte.hu>, Juergen Beisert <jbe@pengutronix.de>,
	Darren Hart <dvhltc@us.ibm.com>,
	linux-rt-users@vger.kernel.org,
	Sven-Thorsten Dietrich <sdietrich@novell.com>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: [patch 2/3] Enable setting of IRQ-thread priorities from kernel cmdline (repost:CC to LKML)
Date: Wed, 19 Dec 2007 12:51:45 -0800	[thread overview]
Message-ID: <20071219125145.f4061fcb.randy.dunlap@oracle.com> (raw)
In-Reply-To: <47697882.2275420a.3951.ffff92ed@mx.google.com>

On Wed, 19 Dec 2007 20:45:53 +0100 Remy Bohmer wrote:

>  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.

> +			If this cmdline argument is ommitted, every thread

                                                    omitted,

> +			runs at prio 50.
> +
>  	ports=		[IP_VS_FTP] IPVS ftp helper module
>  			Default is 21.
>  			Up to 8 (IP_VS_APP_MAX_PORTS) ports

> 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

> @@ -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,

> + * 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

  reply	other threads:[~2007-12-19 20:53 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20071219194551.315868746@bohmer.net>
2007-12-19 19:45 ` [patch 1/3] Add generic routine for parsing map-like options on kernel cmd-line " Remy Bohmer
2007-12-19 21:00   ` Randy Dunlap
2007-12-19 21:44     ` Remy Bohmer
2007-12-19 19:45 ` [patch 2/3] Enable setting of IRQ-thread priorities from kernel cmdline " Remy Bohmer
2007-12-19 20:51   ` Randy Dunlap [this message]
2007-12-20 12:02   ` Jaswinder Singh
2007-12-19 19:45 ` [patch 3/3] Enable setting of IRQ-thread priorities from kernel cmdline. " Remy Bohmer
2007-12-19 20:55   ` Randy Dunlap
2007-12-20 11:59   ` Jaswinder Singh
2007-12-20 12:25     ` Remy Bohmer
2007-12-20 12:45       ` Jaswinder Singh
2007-12-20 12:50         ` Remy Bohmer
2007-12-20 13:18         ` Juergen Beisert
2007-12-20 13:40           ` Jaswinder Singh

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=20071219125145.f4061fcb.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=acme@ghostprotocols.net \
    --cc=dvhltc@us.ibm.com \
    --cc=jbe@pengutronix.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=linux@bohmer.net \
    --cc=mingo@elte.hu \
    --cc=rostedt@goodmis.org \
    --cc=sdietrich@novell.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®