Re: [Fwd: Re: [patch] Real-Time Preemption, -RT-2.6.9-mm1-V0.6]

Remi Colinet
2004-11-03T00:07:39Z

Remi Colinet wrote:

> Ingo Molnar wrote:
>
>> i've uploaded a fixed kernel (-V0.6.8) to :
>>
>> http://redhat.com/~mingo/realtime-preempt/
>> <http://redhat.com/%7Emingo/realtime-preempt/>
>>

Without DEBUG_PAGE_ALLOC, the kernel (V0.6.9) is fairly stable.
I can even feel the difference of latency under KDE, between the stock
kernel and V0.6.9. :-)

I like this patch.

Remi

> I have thousands of the following BUG with V0.6.9
>
> Nov 2 23:10:14 tigre02 kernel: printk: 6553 messages suppressed.
> Nov 2 23:10:14 tigre02 kernel: BUG: using smp_processor_id() in
> preemptible [00000001] code: udev/1159
> Nov 2 23:10:14 tigre02 kernel: caller is store_stackinfo+0x5d/0xb0
> Nov 2 23:10:14 tigre02 kernel: [<c0106503>] dump_stack+0x23/0x30 (20)
> Nov 2 23:10:14 tigre02 kernel: [<c011f177>] smp_processor_id+0xb7/0xc0
> (32)
> Nov 2 23:10:14 tigre02 kernel: [<c0159a5d>] store_stackinfo+0x5d/0xb0
> (28)
> Nov 2 23:10:14 tigre02 kernel: [<c015b6ba>]
> cache_free_debugcheck+0x1aa/0x390 (52)
> Nov 2 23:10:14 tigre02 kernel: [<c015c656>] kmem_cache_free+0x46/0xf0
> (32)
> Nov 2 23:10:14 tigre02 kernel: [<c01731f1>] sys_open+0x81/0xb0 (32)
> Nov 2 23:10:14 tigre02 kernel: [<c0105561>]
> sysenter_past_esp+0x52/0x71 (-8124)
> Nov 2 23:10:14 tigre02 kernel: ---------------------------
> Nov 2 23:10:14 tigre02 kernel: | preempt count: 00000002 ]
> Nov 2 23:10:14 tigre02 kernel: | 2-level deep critical section nesting:
> Nov 2 23:10:14 tigre02 kernel: ----------------------------------------
> Nov 2 23:10:14 tigre02 kernel: .. [<c011f11f>] ....
> smp_processor_id+0x5f/0xc0
> Nov 2 23:10:14 tigre02 kernel: .....[<c0159a5d>] .. ( <=
> store_stackinfo+0x5d/0xb0)
> Nov 2 23:10:14 tigre02 kernel: .. [<c014083d>] ....
> print_traces+0x1d/0x60
> Nov 2 23:10:14 tigre02 kernel: .....[<c0106503>] .. ( <=
> dump_stack+0x23/0x30)