public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* realtime-preempt + reiser4?
@ 2005-07-12 19:55 Keenan Pepper
  2005-07-12 20:05 ` Lee Revell
  0 siblings, 1 reply; 8+ messages in thread
From: Keenan Pepper @ 2005-07-12 19:55 UTC (permalink / raw)
  To: linux-kernel

Ingo Molnar's realtime-preempt patches used to be based on the -mm 
kernels, but now they appear to be based on the mainline kernels, so 
they don't support reiser4 (at least until reiser4 is merged into 
mainline, which is looking uncertain as I understand it).
Is realtime-preempt-2.6.10-mm1-V0.7.34-01 the most recent 
realtime-preempt kernel to support reiser4?
How is the latency of the reiser4 code itself?

Keenan

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

* Re: realtime-preempt + reiser4?
  2005-07-12 19:55 realtime-preempt + reiser4? Keenan Pepper
@ 2005-07-12 20:05 ` Lee Revell
  2005-07-12 22:01   ` Hans Reiser
  2005-07-12 23:37   ` Keenan Pepper
  0 siblings, 2 replies; 8+ messages in thread
From: Lee Revell @ 2005-07-12 20:05 UTC (permalink / raw)
  To: Keenan Pepper; +Cc: linux-kernel

On Tue, 2005-07-12 at 15:55 -0400, Keenan Pepper wrote:
> Ingo Molnar's realtime-preempt patches used to be based on the -mm 
> kernels, but now they appear to be based on the mainline kernels, so 
> they don't support reiser4 (at least until reiser4 is merged into 
> mainline, which is looking uncertain as I understand it).

It's not uncertain, the reiser4 people just have to address the issues
that were raised on LKML before it will be merged, just like everyone
else.

> Is realtime-preempt-2.6.10-mm1-V0.7.34-01 the most recent 
> realtime-preempt kernel to support reiser4?
> How is the latency of the reiser4 code itself?

No one ever posted any numbers (to LKML anyway) so we don't know.

Maybe you could apply the broken out reiser4 patches from -mm and the
realtime preempt patches.  Testing with PREEMPT_DESKTOP and latency
tracing enabled will tell you whether reiser4 has any latency hot spots.

Lee


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

* Re: realtime-preempt + reiser4?
  2005-07-12 20:05 ` Lee Revell
@ 2005-07-12 22:01   ` Hans Reiser
  2005-07-12 23:37   ` Keenan Pepper
  1 sibling, 0 replies; 8+ messages in thread
From: Hans Reiser @ 2005-07-12 22:01 UTC (permalink / raw)
  To: Lee Revell; +Cc: Keenan Pepper, linux-kernel

Lee Revell wrote:

>On Tue, 2005-07-12 at 15:55 -0400, Keenan Pepper wrote:
>  
>
>>Ingo Molnar's realtime-preempt patches used to be based on the -mm 
>>kernels, but now they appear to be based on the mainline kernels, so 
>>they don't support reiser4 (at least until reiser4 is merged into 
>>mainline, which is looking uncertain as I understand it).
>>    
>>
>
>It's not uncertain, the reiser4 people just have to address the issues
>that were raised on LKML before it will be merged, just like everyone
>else.
>  
>
Maybe tomorrow the changes will compile.....  they have been written.....

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

* Re: realtime-preempt + reiser4?
  2005-07-12 20:05 ` Lee Revell
  2005-07-12 22:01   ` Hans Reiser
@ 2005-07-12 23:37   ` Keenan Pepper
  2005-07-12 23:51     ` Lee Revell
  2005-07-13  0:04     ` Steven Rostedt
  1 sibling, 2 replies; 8+ messages in thread
From: Keenan Pepper @ 2005-07-12 23:37 UTC (permalink / raw)
  To: Lee Revell; +Cc: linux-kernel

Lee Revell wrote:
> Maybe you could apply the broken out reiser4 patches from -mm and the
> realtime preempt patches.  Testing with PREEMPT_DESKTOP and latency
> tracing enabled will tell you whether reiser4 has any latency hot spots.

I'm trying this now and it's not exactly trivial; the patches conflict 
in some places so I had to fix by hand. Now I've got it almost compiled 
but it says:

fs/built-in.o: In function `kcond_wait':
: undefined reference to `there_is_no_init_MUTEX_LOCKED_for_RT_semaphores'
fs/built-in.o: In function `kcond_timedwait':
: undefined reference to `there_is_no_init_MUTEX_LOCKED_for_RT_semaphores'

I naively changed these two calls from

init_MUTEX_LOCKED(&name);

to

init_MUTEX(&name);
down(&name);

but I'm not sure if that's right. I guess I'll see when I try to boot it!

Keenan

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

* Re: realtime-preempt + reiser4?
  2005-07-12 23:37   ` Keenan Pepper
@ 2005-07-12 23:51     ` Lee Revell
  2005-07-13  0:04     ` Steven Rostedt
  1 sibling, 0 replies; 8+ messages in thread
From: Lee Revell @ 2005-07-12 23:51 UTC (permalink / raw)
  To: Keenan Pepper; +Cc: linux-kernel

On Tue, 2005-07-12 at 19:37 -0400, Keenan Pepper wrote:
> but I'm not sure if that's right. I guess I'll see when I try to boot it!
> 

The standard fix is to make it a compat_semaphore.  See the list
archives for details.

Lee


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

* Re: realtime-preempt + reiser4?
  2005-07-12 23:37   ` Keenan Pepper
  2005-07-12 23:51     ` Lee Revell
@ 2005-07-13  0:04     ` Steven Rostedt
  2005-07-13 16:23       ` Vladimir V. Saveliev
  1 sibling, 1 reply; 8+ messages in thread
From: Steven Rostedt @ 2005-07-13  0:04 UTC (permalink / raw)
  To: Keenan Pepper; +Cc: Ingo Molnar, linux-kernel, Lee Revell

On Tue, 2005-07-12 at 19:37 -0400, Keenan Pepper wrote:

> 
> I naively changed these two calls from
> 
> init_MUTEX_LOCKED(&name);
> 
> to
> 
> init_MUTEX(&name);
> down(&name);
> 
> but I'm not sure if that's right. I guess I'll see when I try to boot it!

No, since it probably wont be "uped" by the same process.  So what you
want to do is change the definition of name from semaphore to
compat_semaphore, and keep it as init_MUTEX_LOCKED.  And please send
patches to Ingo (I've included him on CC).  Also include Ingo on all RT
related issues, since he is the one maintaining the patch.

Thanks,

-- Steve



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

* Re: realtime-preempt + reiser4?
  2005-07-13  0:04     ` Steven Rostedt
@ 2005-07-13 16:23       ` Vladimir V. Saveliev
  2005-07-14  6:20         ` Keenan Pepper
  0 siblings, 1 reply; 8+ messages in thread
From: Vladimir V. Saveliev @ 2005-07-13 16:23 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Keenan Pepper, Ingo Molnar, linux-kernel, Lee Revell

Hello

Steven Rostedt wrote:
> On Tue, 2005-07-12 at 19:37 -0400, Keenan Pepper wrote:
> 
> 
>>I naively changed these two calls from
>>
>>init_MUTEX_LOCKED(&name);
>>
>>to
>>
>>init_MUTEX(&name);
>>down(&name);
>>
>>but I'm not sure if that's right. I guess I'll see when I try to boot it!
> 
> 
> No, since it probably wont be "uped" by the same process.  So what you
> want to do is change the definition of name from semaphore to
> compat_semaphore, and keep it as init_MUTEX_LOCKED.  And please send
> patches to Ingo (I've included him on CC).  Also include Ingo on all RT
> related issues, since he is the one maintaining the patch.
> 

ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-realtime-preempt-2.6.12-final-V0.7.51-29.patch.gz
It applies to 2.6.12 + http://people.redhat.com/mingo/realtime-preempt/older/realtime-preempt-2.6.12-final-V0.7.51-29

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

* Re: realtime-preempt + reiser4?
  2005-07-13 16:23       ` Vladimir V. Saveliev
@ 2005-07-14  6:20         ` Keenan Pepper
  0 siblings, 0 replies; 8+ messages in thread
From: Keenan Pepper @ 2005-07-14  6:20 UTC (permalink / raw)
  To: Vladimir V. Saveliev
  Cc: Steven Rostedt, Ingo Molnar, linux-kernel, Lee Revell

Vladimir V. Saveliev wrote:
> 
> ftp://ftp.namesys.com/pub/reiser4-for-2.6/2.6.12/reiser4-for-2.6.12-realtime-preempt-2.6.12-final-V0.7.51-29.patch.gz 
> 
> It applies to 2.6.12 + 
> http://people.redhat.com/mingo/realtime-preempt/older/realtime-preempt-2.6.12-final-V0.7.51-29 

Ah, this is just what I was looking for. Should have thought to search 
namesys.com.

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

end of thread, other threads:[~2005-07-14  6:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-12 19:55 realtime-preempt + reiser4? Keenan Pepper
2005-07-12 20:05 ` Lee Revell
2005-07-12 22:01   ` Hans Reiser
2005-07-12 23:37   ` Keenan Pepper
2005-07-12 23:51     ` Lee Revell
2005-07-13  0:04     ` Steven Rostedt
2005-07-13 16:23       ` Vladimir V. Saveliev
2005-07-14  6:20         ` Keenan Pepper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox