login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
May
»
17
Re: [PATCH] NOHZ: local_softirq_pending with tickless plip
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Mikulas Patocka
Subject:
Re: [PATCH] NOHZ: local_softirq_pending with tickless plip
Date: Thursday, May 17, 2007 - 6:05 am
>> Hi
quoted text
>> >> On one of my machines with tickless kernel and plip I get messages : > > I bet this is a machine a P4 with Hyperthreading enabled ?
No, it's single Pentium 2. I have other Pentium MMX using plip, where I don't get these error messages, I don't know why. Mikulas
quoted text
>> NOHZ: local_softirq_pending 08 >> >> always when using plip (on other machine with tickless kernel and plip I >> get no errors). Thebug happens both on 2.6.21 and 2.6.22-rc1 >> >> This patch fixes that. Note that plip calls netif_rx neither from hardware >> interrupt nor from ksoftirqd, so there is no one who would wake >> ksoftirqd then. netif_tx calls only >> __raise_softirq_irqoff(NET_RX_SOFTIRQ), which sets softirq bit, but >> doesn't wake ksoftirqd. > > Dave, > > can we please get rid of __raise_softirq_irqoff() at all ? These micro > optimizations are causing more trouble than they are worth. > > tglx > >> Mikulas >> >> Signed-off-by: Mikulas Patocka <mikulas@artax.karlin.mff.cuni.cz >> >> --- linux-2.6.22-rc1/net/core/dev.c_ Fri May 18 07:51:01 2007 >> +++ linux-2.6.22-rc1/net/core/dev.c Fri May 18 07:51:06 2007 >> @@ -1117,7 +1117,7 @@ >> dev->quota += dev->weight; >> else >> dev->quota = dev->weight; >> - __raise_softirq_irqoff(NET_RX_SOFTIRQ); >> + raise_softirq_irqoff(NET_RX_SOFTIRQ); >> local_irq_restore(flags); >> } >> EXPORT_SYMBOL(__netif_rx_schedule); > >
-
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:
Re: [PATCH] NOHZ: local_softirq_pending with tickless plip
, Thomas Gleixner
, (Thu May 17, 3:52 am)
Re: [PATCH] NOHZ: local_softirq_pending with tickless plip
, Mikulas Patocka
, (Thu May 17, 6:05 am)
Re: [PATCH] NOHZ: local_softirq_pending with tickless plip
, David Miller
, (Thu May 17, 1:29 pm)
Re: [PATCH] NOHZ: local_softirq_pending with tickless plip
, David Miller
, (Sat May 19, 2:34 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian