linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10
@ 2005-03-25 14:59 Ingo Molnar
  2005-03-25 22:33 ` Lee Revell
                   ` (2 more replies)
  0 siblings, 3 replies; 87+ messages in thread
From: Ingo Molnar @ 2005-03-25 14:59 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul E. McKenney


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

^ permalink raw reply	[flat|nested] 87+ messages in thread
* Re: [patch] Real-Time Preemption, -RT-2.6.12-rc3-V0.7.46-01
@ 2005-05-08  3:30 Norval Watson
  0 siblings, 0 replies; 87+ messages in thread
From: Norval Watson @ 2005-05-08  3:30 UTC (permalink / raw)
  To: linux-kernel

I have tried to build 2.6.12-rc3 kernel with Ingo's
realtime-preempt-2.6.12-rc3-V0.7.46-02 on amd64

When I enabled option 4, Complete Realtime, make bzImage failed as
described in Lee Revell's Apr 12 lkml post:
http://lkml.org/lkml/2005/4/12/523

"HOSTCC scripts/bin2c 
CC arch/x86_64/kernel/asm-offsets.s 
CHK include/asm-x86_64/offset.h 
UPD include/asm-x86_64/offset.h 
CC init/main.o 
In file included from include/linux/rwsem.h:38, 
from include/linux/kobject.h:24, 
from include/linux/module.h:19, 
from init/main.c:16: 
include/asm/rwsem.h:55: error: redefinition of `struct rw_semaphore' 
etc etc......"

When I started again with option 3, Low Latency Desktop, the build got a
bit further before hanging: (Full ouput:
http://www.longforest.com/index.php?option=com_content&task=view&id=133&Itemid=2 )

"
  CC      arch/x86_64/kernel/head64.o
  CC      arch/x86_64/kernel/init_task.o
arch/x86_64/kernel/init_task.c:17: warning: implicit declaration of
function `__RWSEM_INITIALIZER'
arch/x86_64/kernel/init_task.c:17: warning: missing braces around
initializer

...etc etc etc...

 constant
arch/x86_64/kernel/init_task.c:17: error: (near initialization for
`init_mm.default_kioctx')
make[1]: *** [arch/x86_64/kernel/init_task.o] Error 1
make: *** [arch/x86_64/kernel] Error 2"

Please CC any advice (or abuse!),
I can supply further info if required
Cheers,
Norv


^ permalink raw reply	[flat|nested] 87+ messages in thread

end of thread, other threads:[~2005-05-09  7:24 UTC | newest]

Thread overview: 87+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-25 14:59 [patch] Real-Time Preemption, -RT-2.6.12-rc1-V0.7.41-10 Ingo Molnar
2005-03-25 22:33 ` 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
2005-05-08  3:30 Norval Watson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).