From: Ingo Molnar <mingo@elte.hu>
To: Markus Trippelsdorf <markus@trippelsdorf.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>,
Thomas Gleixner <tglx@linutronix.de>,
"H. Peter Anvin" <hpa@zytor.com>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
Yinghai Lu <yinghai@kernel.org>
Subject: Re: [sparseirq] remove debug printks (io_apic.c)
Date: Fri, 2 Jan 2009 23:21:48 +0100 [thread overview]
Message-ID: <20090102222148.GG17240@elte.hu> (raw)
In-Reply-To: <20081231120043.GA2419@gentoox2.trippelsdorf.de>
* Markus Trippelsdorf <markus@trippelsdorf.de> wrote:
> On Thu, Dec 25, 2008 at 05:07:41PM +0100, Ingo Molnar wrote:
> >
> > Please pull the latest irq-core-for-linus git tree from:
> >
> > git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git irq-core-for-linus
> >
> > Most of the changes here are related to enable and implement sparseirq
> > support on x86.
>
> > Yinghai Lu (10):
> > sparse irq_desc[] array: core kernel and x86 changes
> > x86: use NR_IRQS_LEGACY
> > x86: MSI start irq numbering from nr_irqs_gsi
> > x86, MSI: pass irq_cfg and irq_desc
> > sparseirq: fix Alpha build failure
> > sparseirq: fix !SMP && !PCI_MSI && !HT_IRQ build
> > x86, sparseirq: move irq_desc according to smp_affinity, v7
> > sparseirq: fix !SMP building, #2
> > sparseirq: add kernel-doc notation for new member in irq_desc, -v2
> > sparseirq: fix numa_migrate_irq_desc dependency and comments
>
> The message "alloc irq_2_pin on cpu 0 node 0" is printed way too often.
>
> % dmesg|grep irq_2_pin|wc -l
> 20
>
> Get rid of the debug printks.
>
> Signed-off-by: Markus Trippelsdorf <markus@trippelsdorf.de>
> ---
> arch/x86/kernel/io_apic.c | 2 --
> 1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/kernel/io_apic.c b/arch/x86/kernel/io_apic.c
> index f6ea94b..66f97b2 100644
> --- a/arch/x86/kernel/io_apic.c
> +++ b/arch/x86/kernel/io_apic.c
> @@ -129,7 +129,6 @@ static struct irq_pin_list *get_one_free_irq_2_pin(int cpu)
> node = cpu_to_node(cpu);
>
> pin = kzalloc_node(sizeof(*pin), GFP_ATOMIC, node);
> - printk(KERN_DEBUG " alloc irq_2_pin on cpu %d node %d\n", cpu, node);
>
> return pin;
> }
> @@ -207,7 +206,6 @@ static struct irq_cfg *get_one_free_irq_cfg(int cpu)
> node = cpu_to_node(cpu);
>
> cfg = kzalloc_node(sizeof(*cfg), GFP_ATOMIC, node);
> - printk(KERN_DEBUG " alloc irq_cfg on cpu %d node %d\n", cpu, node);
>
> return cfg;
Agreed, those are not needed - i've applied your patch to tip/x86/urgent,
thanks!
Ingo
prev parent reply other threads:[~2009-01-02 22:22 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-25 16:07 [git pull] sparseirq / irq updates for v2.6.29 Ingo Molnar
2008-12-27 13:32 ` Ingo Molnar
2008-12-27 17:27 ` KOSAKI Motohiro
2008-12-27 17:38 ` Ingo Molnar
2008-12-28 23:11 ` Linus Torvalds
2008-12-28 23:23 ` Yinghai Lu
2008-12-28 23:27 ` Ingo Molnar
2008-12-28 23:30 ` Ingo Molnar
2008-12-29 0:01 ` Yinghai Lu
2008-12-29 8:39 ` KOSAKI Motohiro
2008-12-29 11:09 ` Ingo Molnar
2008-12-29 11:20 ` KOSAKI Motohiro
2008-12-29 0:28 ` Yinghai Lu
2008-12-29 0:53 ` Yinghai Lu
2008-12-29 9:44 ` Ingo Molnar
2008-12-29 9:52 ` Ingo Molnar
2008-12-29 11:00 ` Kamalesh Babulal
2008-12-29 11:05 ` Ingo Molnar
2008-12-29 16:05 ` Kamalesh Babulal
2008-12-29 16:20 ` Ingo Molnar
2008-12-29 16:22 ` KOSAKI Motohiro
2008-12-29 16:36 ` Ingo Molnar
2008-12-28 23:55 ` H. Peter Anvin
2008-12-29 0:06 ` Yinghai Lu
2008-12-29 0:38 ` H. Peter Anvin
2008-12-29 9:34 ` Ingo Molnar
2008-12-28 23:10 ` [git pull] sparseirq / irq fixes Ingo Molnar
2008-12-29 12:52 ` Ingo Molnar
2008-12-31 0:22 ` Linus Torvalds
2008-12-31 6:48 ` Ingo Molnar
2008-12-31 12:00 ` [sparseirq] remove debug printks (io_apic.c) Markus Trippelsdorf
2009-01-02 22:21 ` Ingo Molnar [this message]
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=20090102222148.GG17240@elte.hu \
--to=mingo@elte.hu \
--cc=akpm@linux-foundation.org \
--cc=hpa@zytor.com \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=markus@trippelsdorf.de \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=yinghai@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox