| From | Sent On | Attachments |
|---|---|---|
| 95 earlier messages | ||
| Thomas Gleixner | Mar 27, 2009 5:03 am | |
| Thomas Gleixner | Apr 1, 2009 5:17 pm | |
| Will Schmidt | Apr 2, 2009 9:01 am | |
| Thomas Gleixner | Apr 2, 2009 9:45 am | |
| Will Schmidt | Apr 2, 2009 10:23 am | |
| Peter Zijlstra | Apr 3, 2009 2:42 am | |
| Will Schmidt | Apr 3, 2009 8:29 am | |
| Thomas Gleixner | Apr 3, 2009 10:21 am | |
| Fernando Lopez-Lezcano | Apr 3, 2009 4:03 pm | |
| Thomas Gleixner | Apr 3, 2009 9:30 pm | |
| Fernando Lopez-Lezcano | Apr 3, 2009 11:56 pm | .bz2 |
| GeunSik Lim | Apr 4, 2009 8:28 pm | |
| Thomas Gleixner | Apr 5, 2009 1:46 am | |
| Thomas Gleixner | Apr 5, 2009 1:52 am | |
| Thomas Gleixner | Apr 5, 2009 6:53 am | |
| Fernando Lopez-Lezcano | Apr 5, 2009 2:48 pm | |
| Thomas Gleixner | Apr 5, 2009 3:02 pm | |
| Fernando Lopez-Lezcano | Apr 5, 2009 4:09 pm | |
| Thomas Gleixner | Apr 6, 2009 12:53 pm | |
| Fernando Lopez-Lezcano | Apr 7, 2009 9:50 am | |
| Thomas Gleixner | Apr 7, 2009 9:58 am | |
| Fernando Lopez-Lezcano | Apr 7, 2009 10:13 am | |
| Fernando Lopez-Lezcano | Apr 7, 2009 11:12 am | .multi, .single, .noblue, 1 more |
| Thomas Gleixner | Apr 8, 2009 10:49 am | |
| Thomas Gleixner | Apr 9, 2009 11:53 am | |
| GeunSik Lim | Apr 10, 2009 1:12 am | |
| Thomas Gleixner | Apr 10, 2009 3:05 pm | |
| Suresh Kumar SHUKLA | Apr 12, 2009 11:44 pm | |
| Tim Sander | Apr 13, 2009 3:56 am | |
| Tim Sander | Apr 13, 2009 9:21 am | |
| Suresh Kumar SHUKLA | Apr 13, 2009 8:55 pm | |
| Thomas Gleixner | Apr 18, 2009 3:13 am | |
| Robin Gareus | Apr 19, 2009 7:11 am | |
| Wu Zhangjin | Apr 20, 2009 6:47 pm | |
| Thomas Gleixner | Apr 25, 2009 6:02 am | |
| Thomas Gleixner | Apr 28, 2009 3:39 pm | |
| Thomas Gleixner | May 1, 2009 2:52 pm | |
| Thomas Gleixner | May 12, 2009 4:27 pm | |
| Hugo Vincent | May 12, 2009 5:15 pm | |
| Thomas Gleixner | May 13, 2009 3:18 am | |
| Peter Zijlstra | May 13, 2009 3:24 am | |
| Thomas Gleixner | May 13, 2009 4:05 am | |
| Thomas Gleixner | May 22, 2009 6:02 am | |
| Thomas Gleixner | May 25, 2009 6:46 am | |
| GeunSik Lim | Jun 2, 2009 9:54 pm | |
| Thomas Gleixner | Jun 10, 2009 10:02 am | |
| Thomas Gleixner | Jun 12, 2009 10:31 am | |
| Thomas Gleixner | Jun 15, 2009 2:19 am | |
| Wolfgang Johann BETZ | Jun 16, 2009 6:49 am | |
| Thomas Gleixner | Jun 17, 2009 1:45 am | |
| Thomas Gleixner | Jun 23, 2009 5:30 am | |
| Thomas Gleixner | Jul 9, 2009 11:25 am | |
| Fernando Lopez-Lezcano | Jul 10, 2009 11:02 am | |
| Fernando Lopez-Lezcano | Jul 10, 2009 11:06 am | |
| Thomas Gleixner | Jul 10, 2009 11:29 am | |
| Fernando Lopez-Lezcano | Jul 10, 2009 5:16 pm | |
| Jaswinder Singh Rajput | Jul 14, 2009 2:12 am | |
| Thomas Gleixner | Jul 29, 2009 5:47 pm | |
| Tim Blechmann | Jul 30, 2009 2:56 am | .patch |
| Darren Hart | Jul 30, 2009 4:03 pm | |
| Clark Williams | Jul 31, 2009 7:12 am | |
| Frederic Weisbecker | Jul 31, 2009 4:21 pm | |
| Darren Hart | Jul 31, 2009 5:41 pm | |
| Frederic Weisbecker | Jul 31, 2009 6:19 pm | |
| Thomas Meyer | Aug 1, 2009 2:48 am | |
| john stultz | Aug 4, 2009 6:29 pm | |
| gowrishankar | Aug 4, 2009 11:05 pm | |
| Clark Williams | Aug 5, 2009 6:32 am | |
| Will Schmidt | Aug 5, 2009 12:19 pm | |
| gowrishankar | Aug 5, 2009 11:45 pm | |
| Clark Williams | Aug 6, 2009 7:36 am | |
| Sven-Thorsten Dietrich | Aug 6, 2009 7:46 am | |
| John Kacur | Aug 6, 2009 7:54 am | |
| gowrishankar | Aug 6, 2009 9:39 am | |
| Sripathi Kodi | Aug 6, 2009 9:25 pm | |
| Darren Hart | Aug 7, 2009 7:29 am | |
| Uwe Kleine-König | Aug 7, 2009 1:39 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:42 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:53 pm | |
| Uwe Kleine-König | Aug 7, 2009 1:54 pm | |
| Mark Brown | Aug 8, 2009 12:57 am | |
| Uwe Kleine-König | Aug 9, 2009 2:36 am | |
| Uwe Kleine-König | Aug 9, 2009 2:36 am | |
| Uwe Kleine-König | Aug 9, 2009 2:36 am | |
| Russell King - ARM Linux | Aug 9, 2009 2:42 am | |
| David Miller | Aug 9, 2009 9:48 pm | |
| Uwe Kleine-König | Aug 10, 2009 2:40 am | |
| David Miller | Aug 10, 2009 8:00 am | |
| Kevin Hilman | Aug 10, 2009 9:47 am | |
| Russell King - ARM Linux | Aug 10, 2009 10:26 am | |
| Kevin Hilman | Aug 10, 2009 2:03 pm | |
| Russell King - ARM Linux | Aug 10, 2009 3:02 pm | |
| Jan Engelhardt | Aug 11, 2009 3:51 am | |
| Thomas Gleixner | Aug 11, 2009 11:08 am | |
| Will Schmidt | Aug 12, 2009 1:45 pm | |
| 99 later messages | ||
| Subject: | [ANNOUNCE] 2.6.29.5-rt21 | |
|---|---|---|
| From: | Thomas Gleixner (tg...@linutronix.de) | |
| Date: | Jun 17, 2009 1:45:15 am | |
| List: | org.kernel.vger.linux-rt-users | |
We are pleased to announce the next update to our new preempt-rt series.
- update to 2.6.29.5 (2.6.29.5-rt20, which I uploaded yesterday but did not announce due to the findings below)
- softirq: lower default priority below hardirq default priority
This fixes a long standing default priority configuration problem of the -rt series. On UP machines this can result in net_tx softirq running in an endless loop and starving the irq threads and the other softirq threads and of course everything with lower priority. It might be possible to happen on a SMP machine when the hardirq thread affinities are tweaked in the right way.
What happens is:
tx interrupt lock(card->tx_lock); dev_kfree_skb_any(skb); blocks on a contended lock
net_tx softirq runs unlocks contended lock but does not schedule away due to equal prio repeat: calls xmit try_lock(card->tx_lock) fails -> reschedule skb which keeps net_tx running goto repeat;
The scheduler does not schedule away net_tx, so this goes on forever.
This has been there forever, but it seems to be easier to trigger in the 29 -rt series which is probably due to the slab cache lock breaks we did.
The problem is restricted to a dozen of wireless adapters and network cards where e1000e is the most popular one. We could patch the affected drivers for -rt, but we need to have a closer look at the general assumptions of drivers vs. hardirq/softirq. Note, this is not a mainline problem as the semantics are entirely correct there.
Lowering the priorities of the softirq threads below the hardirq threads priorities is a safe workaround for now. It prevents the runaway scenario under all circumstances as it resembles the mainline semantics closely.
For all existing -rt systems the problem can be solved w/o patching the kernel by adjusting the priority of the softirq threads from the init scripts with chrt.
It's extremly hard to trigger this, we never had a report of that before, and I want to say thanks to Bernd Oelker who meticulously worked on reproducing the problem and debugging it with all evil methods and patches I could come up with. And no, I'm not going to tell you which nasty hacks made it possible to decode this :)
Download locations:
http://rt.et.redhat.com/download/ http://www.kernel.org/pub/linux/kernel/projects/rt/
Information on the RT patch can be found at:
http://rt.wiki.kernel.org/index.php/Main_Page
to build the 2.6.29.5-rt21 tree, the following patches should be applied:
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.29.5.tar.bz2 http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.29.5-rt21.bz2
The broken out patches are also available at the same download locations.
Enjoy !
tglx
-- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majo...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html






.bz2