All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.6.22  - Mission Impossible :-) -
@ 2007-05-29 23:34 Alessio Igor Bogani
  2007-05-29 23:37 ` Daniel Walker
  0 siblings, 1 reply; 5+ messages in thread
From: Alessio Igor Bogani @ 2007-05-29 23:34 UTC (permalink / raw)
  To: linux-rt-users

Hi,

I continue with my effort to port last realtime-preempt patch available to
2.6.22.

If i compile without ACPI/hrtimers i don't have any problem (performance
and stability not tested yet).

If i compile with these i have a big problem:

---[ Cutted form kernel/timer.c ]---

void msleep(unsigned int msecs)
{
	unsigned long timeout = msecs_to_jiffies(msecs) + 1;
	while (timeout)
		timeout = schedule_timeout_uninterruptible(timeout);
}

------------------------------------

The while construct never return!

I think that Hrtimer subsystem isn't initialized when msleep called from
do_probe() (ide subsystem).

Someone have suggestions?

Thanks in advance!

Ciao,
Alessio

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

* Re: 2.6.22  - Mission Impossible :-) -
  2007-05-29 23:34 2.6.22 - Mission Impossible :-) - Alessio Igor Bogani
@ 2007-05-29 23:37 ` Daniel Walker
  2007-05-29 23:44   ` Alessio Igor Bogani
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel Walker @ 2007-05-29 23:37 UTC (permalink / raw)
  To: Alessio Igor Bogani; +Cc: linux-rt-users


Why do you need to do this?

On Wed, 2007-05-30 at 01:34 +0200, Alessio Igor Bogani wrote:
> Hi,
> 
> I continue with my effort to port last realtime-preempt patch available to
> 2.6.22.
> 
> If i compile without ACPI/hrtimers i don't have any problem (performance
> and stability not tested yet).
> 
> If i compile with these i have a big problem:
> 
> ---[ Cutted form kernel/timer.c ]---
> 
> void msleep(unsigned int msecs)
> {
> 	unsigned long timeout = msecs_to_jiffies(msecs) + 1;
> 	while (timeout)
> 		timeout = schedule_timeout_uninterruptible(timeout);
> }
> 
> ------------------------------------
> 
> The while construct never return!
> 
> I think that Hrtimer subsystem isn't initialized when msleep called from
> do_probe() (ide subsystem).
> 
> Someone have suggestions?
> 
> Thanks in advance!
> 
> Ciao,
> Alessio
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: 2.6.22  - Mission Impossible :-) -
  2007-05-29 23:37 ` Daniel Walker
@ 2007-05-29 23:44   ` Alessio Igor Bogani
  2007-05-31 13:48     ` K.R. Foley
  0 siblings, 1 reply; 5+ messages in thread
From: Alessio Igor Bogani @ 2007-05-29 23:44 UTC (permalink / raw)
  To: Daniel Walker; +Cc: Alessio Igor Bogani, linux-rt-users

Hi Daniel,

> Why do you need to do this?

For two reasons:

1) For study realtime patch
2) For include it into next Ubuntu release

Ciao,
Alessio

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

* Re: 2.6.22  - Mission Impossible :-) -
  2007-05-29 23:44   ` Alessio Igor Bogani
@ 2007-05-31 13:48     ` K.R. Foley
  2007-05-31 15:14       ` Alessio Igor Bogani
  0 siblings, 1 reply; 5+ messages in thread
From: K.R. Foley @ 2007-05-31 13:48 UTC (permalink / raw)
  To: Alessio Igor Bogani; +Cc: Daniel Walker, linux-rt-users

Alessio Igor Bogani wrote:
> Hi Daniel,
> 
>> Why do you need to do this?
> 
> For two reasons:
> 
> 1) For study realtime patch
> 2) For include it into next Ubuntu release
> 
> Ciao,
> Alessio
> 

The study part I can kind of understand, but for both reasons wouldn't
it make more sense to wait until 2.6.22 settles out?

-- 
   kr

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

* Re: 2.6.22  - Mission Impossible :-) -
  2007-05-31 13:48     ` K.R. Foley
@ 2007-05-31 15:14       ` Alessio Igor Bogani
  0 siblings, 0 replies; 5+ messages in thread
From: Alessio Igor Bogani @ 2007-05-31 15:14 UTC (permalink / raw)
  To: K.R. Foley; +Cc: Daniel Walker, linux-rt-users

Hi K.R. Foley,

Excuse me for my poor english.

> The study part I can kind of understand, but for both reasons wouldn't
> it make more sense to wait until 2.6.22 settles out?

For study part:
When the things are already done it _seems_ more easy than are in
true. :-) 

For Ubuntu part:
My objective is include a realtime kernel (install & play) into the next
Ubuntu Linux distribution (will be release in October). This permit to
have it in more widespread use for testing (and finally this is very
main reason).

Ciao,
Alessio

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

end of thread, other threads:[~2007-05-31 15:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-29 23:34 2.6.22 - Mission Impossible :-) - Alessio Igor Bogani
2007-05-29 23:37 ` Daniel Walker
2007-05-29 23:44   ` Alessio Igor Bogani
2007-05-31 13:48     ` K.R. Foley
2007-05-31 15:14       ` Alessio Igor Bogani

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.