public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: linux-kernel@vger.kernel.org
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Subject: [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10
Date: Fri, 25 Mar 2005 15:59:08 +0100	[thread overview]
Message-ID: <20050325145908.GA7146@elte.hu> (raw)


i have released the -V0.7.41-10 Real-Time Preemption patch, which can be 
downloaded from the usual place:

   http://redhat.com/~mingo/realtime-preempt/

this release fixes two bugs:

 - one affecting SMP systems & RCU (the missing smp_mb()s)

 - the other one in net/xfrm/xfrm_policy.c, affecting systems where 
   network interfaces (or pseudo-interfaces) are frequently 
   created/destroyed

i've also added a new debugging feature which is activated if 
RT_DEADLOCK_DETECT is enabled: the checking of active locks in freed 
memory.

This catches a dangerous category of bugs which the upstream kernel can 
silently ignore (because there locks are quite 'passive'), while the -RT 
kernel will often go down in flames sometime later (it has lists within 
the lock, etc.). This mechanism found the xfrm_policy.c bug:

 BUG: events/0/4, active lock [e94a8cdc(e94a8cd0-e94a90dc)] freed!
  [<c0103e31>] dump_stack+0x1e/0x20 (20)
  [<c0136fa2>] check_no_locks_freed+0x158/0x210 (60)
  [<c01477e9>] kfree+0x59/0x15a (48)
  [<c03638db>] xfrm_policy_gc_task+0x6f/0x7e (28)
  [<c012f3c7>] worker_thread+0x1c1/0x26c (132)
  [<c01333e9>] kthread+0x95/0xbd (48)
  [<c01012c9>] kernel_thread_helper+0x5/0xb (1039269908)

so i'd expect more such bugs to be found. If you had stability problems 
under PREEMPT_RT (hangs, crashes), please enable RT_DEADLOCK_DETECT and 
try to reproduce the problem and send me the resulting log messages.

to create a -V0.7.41-10 tree from scratch, the patching order is:

  http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.tar.bz2
  http://kernel.org/pub/linux/kernel/v2.6/testing/patch-2.6.12-rc1.bz2
  http://redhat.com/~mingo/realtime-preempt/realtime-preempt-2.6.12-rc1-V0.7.41-10

	Ingo

             reply	other threads:[~2005-03-25 15:00 UTC|newest]

Thread overview: 86+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-25 14:59 Ingo Molnar [this message]
2005-03-25 22:33 ` [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10 Lee Revell
2005-03-25 22:39   ` Ingo Molnar
2005-03-26  5:14     ` Lee Revell
2005-03-27  8:58       ` Ingo Molnar
2005-03-30  5:16         ` Lee Revell
2005-03-30  6:54           ` Ingo Molnar
2005-03-29 22:31 ` Lee Revell
2005-03-30  8:03   ` Ingo Molnar
2005-03-31  8:55 ` [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-25 Ingo Molnar
2005-04-01 10:47   ` [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.43-00 Ingo Molnar
2005-04-01 12:13     ` Rui Nuno Capela
2005-04-01 12:52       ` Ingo Molnar
2005-04-01 14:42         ` Rui Nuno Capela
2005-04-01 15:06           ` Ingo Molnar
2005-04-01 15:52             ` Rui Nuno Capela
2005-04-01 16:28               ` Ingo Molnar
2005-04-01 21:26                 ` Rui Nuno Capela
2005-04-01 17:31     ` Gene Heskett
2005-04-01 18:27       ` K.R. Foley
2005-04-01 18:29         ` Ingo Molnar
2005-04-01 19:21           ` Gene Heskett
2005-04-01 19:19         ` Gene Heskett
2005-04-01 19:22           ` K.R. Foley
2005-04-01 23:34             ` Gene Heskett
2005-04-02  1:45               ` Lee Revell
2005-04-02  2:30                 ` Gene Heskett
2005-04-02  5:12               ` Ingo Molnar
2005-04-02 19:37                 ` Steven Rostedt
2005-04-02 20:06                   ` Steven Rostedt
2005-04-02 20:17                     ` Lee Revell
2005-04-02 20:34                       ` Ingo Molnar
2005-04-02 22:38                         ` Gene Heskett
2005-04-02 20:35                     ` Ingo Molnar
2005-04-02 20:44                       ` Steven Rostedt
2005-04-02 22:09                         ` Steven Rostedt
2005-04-03  0:06                           ` Steven Rostedt
2005-04-04 20:00                             ` Ingo Molnar
2005-04-04 20:40                               ` Steven Rostedt
2005-04-04 20:47                                 ` Ingo Molnar
2005-04-04 21:14                                   ` Steven Rostedt
2005-04-04 22:51                                     ` Zwane Mwaikambo
2005-04-04 22:59                                       ` Steven Rostedt
2005-04-04 23:09                                       ` Esben Nielsen
2005-04-05  7:57                                         ` Zwane Mwaikambo
2005-04-05 15:18                                           ` Mike Galbraith
2005-04-04 23:06                                     ` Esben Nielsen
2005-04-05  5:34                                       ` Ingo Molnar
2005-04-05  9:25                                         ` Esben Nielsen
2005-04-02 23:45                       ` Lee Revell
2005-04-02 20:10                   ` Lee Revell
2005-04-05  7:19     ` [patch] Real-Time Preemption, -RT-2.6.12-rc2-V0.7.44-00 Ingo Molnar
2005-04-05 19:06       ` Rui Nuno Capela
2005-04-05 19:36         ` Steven Rostedt
2005-04-08 15:22           ` Rui Nuno Capela
2005-04-08 17:15             ` Lee Revell
2005-04-08 20:15               ` K.R. Foley
2005-04-08 20:17                 ` Lee Revell
2005-04-08 20:26                   ` K.R. Foley
2005-04-08 21:00                     ` Lee Revell
2005-04-08 21:36                       ` K.R. Foley
2005-04-10 17:23       ` K.R. Foley
2005-04-10 17:27         ` Ingo Molnar
2005-04-10 17:39           ` Steven Rostedt
2005-04-10 17:47             ` Ingo Molnar
2005-04-12 18:17               ` Lee Revell
2005-04-21  7:35       ` [patch] Real-Time Preemption, -RT-2.6.12-rc3-V0.7.46-00 Ingo Molnar
2005-04-21  8:45         ` Paolo Ciarrocchi
2005-04-21 16:16         ` Daniel Walker
2005-04-21 19:54         ` Daniel Walker
2005-04-22  6:27         ` [patch] Real-Time Preemption, -RT-2.6.12-rc3-V0.7.46-01 Ingo Molnar
2005-04-22  7:34           ` Ingo Molnar
2005-04-22 15:48             ` Daniel Walker
2005-04-22 15:49               ` Ingo Molnar
2005-04-22 15:53                 ` Daniel Walker
2005-04-22 15:55                   ` Ingo Molnar
2005-04-22 15:56                     ` Ingo Molnar
2005-04-26 17:49                     ` Daniel Walker
2005-05-09  7:23                       ` Ingo Molnar
2005-04-22 21:06             ` Inaky Perez-Gonzalez
2005-04-22 21:15               ` Daniel Walker
2005-05-04  8:24                 ` Ingo Molnar
2005-04-22 21:17               ` Daniel Walker
2005-04-30 23:28           ` Lee Revell
2005-05-04  8:22             ` Ingo Molnar
2005-05-04 15:05               ` Lee Revell

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=20050325145908.GA7146@elte.hu \
    --to=mingo@elte.hu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=paulmck@us.ibm.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