Re: 2.6.19-rc6-rt8
On Wed, 29 Nov 2006 07:41:09 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > > * Hu Gang <[EMAIL PROTECTED]> wrote: > > > On Mon, 27 Nov 2006 10:49:27 +0100 > > Ingo Molnar <[EMAIL PROTECTED]> wrote: > > > > > i have released the 2.6.19-rc6-rt8 tree, which can be downloaded from > > > the usual place: > > > > > > http://redhat.com/~mingo/realtime-preempt/ > > > > attached patch to making it compile and works in my PowerBook G4. > > thanks, applied. I'll let the PPC -rt folks sort out the hack effects. > Do you have CONFIG_HIGH_RES_TIMERS enabled? no. [hugang@:~]$ uname -a Linux hugang.soulinfo.com 2.6.19-rc6-rt8 #2 PREEMPT Wed Nov 29 09:29:43 UTC 2006 ppc GNU/Linux [hugang@:~]$ zgrep CONFIG_HIGH_RES_TIMERS /proc/config.gz [hugang@:~]$ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.19-rc6-rt8
On Mon, 27 Nov 2006 10:49:27 +0100 Ingo Molnar <[EMAIL PROTECTED]> wrote: > i have released the 2.6.19-rc6-rt8 tree, which can be downloaded from > the usual place: > > http://redhat.com/~mingo/realtime-preempt/ attached patch to making it compile and works in my PowerBook G4. Index: linux-2.6.19-rc6-rt5/arch/powerpc/kernel/time.c === --- linux-2.6.19-rc6-rt5.orig/arch/powerpc/kernel/time.c2006-11-28 22:13:54.0 + +++ linux-2.6.19-rc6-rt5/arch/powerpc/kernel/time.c 2006-11-28 22:15:48.0 + @@ -507,7 +507,7 @@ if (per_cpu(last_jiffy, cpu) >= tb_next_jiffy) { tb_last_jiffy = tb_next_jiffy; do_timer(1); - timer_recalc_offset(tb_last_jiffy); + /*timer_recalc_offset(tb_last_jiffy);*/ timer_check_rtc(); } write_sequnlock(_lock); Index: linux-2.6.19-rc6-rt5/include/asm-powerpc/semaphore.h === --- linux-2.6.19-rc6-rt5.orig/include/asm-powerpc/semaphore.h 2006-11-28 22:13:54.0 + +++ linux-2.6.19-rc6-rt5/include/asm-powerpc/semaphore.h2006-11-28 22:15:48.0 + @@ -10,7 +10,7 @@ #ifdef __KERNEL__ -#include +/*#include */ #include #include #include Index: linux-2.6.19-rc6-rt5/mm/page_alloc.c === --- linux-2.6.19-rc6-rt5.orig/mm/page_alloc.c 2006-11-28 22:13:54.0 + +++ linux-2.6.19-rc6-rt5/mm/page_alloc.c2006-11-28 22:15:48.0 + @@ -2800,7 +2800,9 @@ void __init page_alloc_init(void) { +#ifdef CONFIG_HOTPLUG_CPU hotcpu_notifier(page_alloc_cpu_notify, 0); +#endif } /* - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.19-rc6-rt8
On Mon, 27 Nov 2006 10:49:27 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: i have released the 2.6.19-rc6-rt8 tree, which can be downloaded from the usual place: http://redhat.com/~mingo/realtime-preempt/ attached patch to making it compile and works in my PowerBook G4. Index: linux-2.6.19-rc6-rt5/arch/powerpc/kernel/time.c === --- linux-2.6.19-rc6-rt5.orig/arch/powerpc/kernel/time.c2006-11-28 22:13:54.0 + +++ linux-2.6.19-rc6-rt5/arch/powerpc/kernel/time.c 2006-11-28 22:15:48.0 + @@ -507,7 +507,7 @@ if (per_cpu(last_jiffy, cpu) = tb_next_jiffy) { tb_last_jiffy = tb_next_jiffy; do_timer(1); - timer_recalc_offset(tb_last_jiffy); + /*timer_recalc_offset(tb_last_jiffy);*/ timer_check_rtc(); } write_sequnlock(xtime_lock); Index: linux-2.6.19-rc6-rt5/include/asm-powerpc/semaphore.h === --- linux-2.6.19-rc6-rt5.orig/include/asm-powerpc/semaphore.h 2006-11-28 22:13:54.0 + +++ linux-2.6.19-rc6-rt5/include/asm-powerpc/semaphore.h2006-11-28 22:15:48.0 + @@ -10,7 +10,7 @@ #ifdef __KERNEL__ -#include linux/config.h +/*#include linux/config.h*/ #include asm/atomic.h #include asm/system.h #include linux/wait.h Index: linux-2.6.19-rc6-rt5/mm/page_alloc.c === --- linux-2.6.19-rc6-rt5.orig/mm/page_alloc.c 2006-11-28 22:13:54.0 + +++ linux-2.6.19-rc6-rt5/mm/page_alloc.c2006-11-28 22:15:48.0 + @@ -2800,7 +2800,9 @@ void __init page_alloc_init(void) { +#ifdef CONFIG_HOTPLUG_CPU hotcpu_notifier(page_alloc_cpu_notify, 0); +#endif } /* - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: 2.6.19-rc6-rt8
On Wed, 29 Nov 2006 07:41:09 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: * Hu Gang [EMAIL PROTECTED] wrote: On Mon, 27 Nov 2006 10:49:27 +0100 Ingo Molnar [EMAIL PROTECTED] wrote: i have released the 2.6.19-rc6-rt8 tree, which can be downloaded from the usual place: http://redhat.com/~mingo/realtime-preempt/ attached patch to making it compile and works in my PowerBook G4. thanks, applied. I'll let the PPC -rt folks sort out the hack effects. Do you have CONFIG_HIGH_RES_TIMERS enabled? no. [hugang@:~]$ uname -a Linux hugang.soulinfo.com 2.6.19-rc6-rt8 #2 PREEMPT Wed Nov 29 09:29:43 UTC 2006 ppc GNU/Linux [hugang@:~]$ zgrep CONFIG_HIGH_RES_TIMERS /proc/config.gz [hugang@:~]$ - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/