Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* sched-O(1) in 2.4 kernels on alpha?
@ 2002-07-09 12:06 ` Heid Oliver
  2002-07-09 15:52   ` Bob Lindell
  2002-07-09 16:30   ` Michal Jaegermann
  0 siblings, 2 replies; 5+ messages in thread
From: Heid Oliver @ 2002-07-09 12:06 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Hi,

Did anybody succeed in getting the O(1) scheduler to work on 2.4 kernels?
There are several patches around, e.g.
http://marc.theaimsgroup.com/?l=linux-kernel&m=102399657506291&w=2  , but no
one compiles on my UP2000+. Besides other problems, it seems
linux/sched_runqueue.h is missing.
I also tried the 2.4.19-pre10-aa[34] patches, which fail with an "undefined
reference to `schedule_tail' " in arch/alpha/kernel.o during linking. Any
help is greatly appreciated.

	Oliver




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

* Re: sched-O(1) in 2.4 kernels on alpha?
  2002-07-09 12:06 ` sched-O(1) in 2.4 kernels on alpha? Heid Oliver
@ 2002-07-09 15:52   ` Bob Lindell
  2002-07-09 16:30   ` Michal Jaegermann
  1 sibling, 0 replies; 5+ messages in thread
From: Bob Lindell @ 2002-07-09 15:52 UTC (permalink / raw)
  To: axp-list

You might try 2.4.19rc1-ac1.  The changelog includes:

o       Alpha updates for O(1) scheduler                (Robert Love)

Bob

> Hi,
> 
> Did anybody succeed in getting the O(1) scheduler to work on 2.4 kernels?
> There are several patches around, e.g.
> http://marc.theaimsgroup.com/?l=linux-kernel&m=102399657506291&w=2  , but no
> one compiles on my UP2000+. Besides other problems, it seems
> linux/sched_runqueue.h is missing.
> I also tried the 2.4.19-pre10-aa[34] patches, which fail with an "undefined
> reference to `schedule_tail' " in arch/alpha/kernel.o during linking. Any
> help is greatly appreciated.
> 
> 	Oliver
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* RE: sched-O(1) in 2.4 kernels on alpha?
@ 2002-07-09 16:16 ` Heid Oliver
  2002-07-09 16:45   ` Bob Lindell
  0 siblings, 1 reply; 5+ messages in thread
From: Heid Oliver @ 2002-07-09 16:16 UTC (permalink / raw)
  To: 'axp-list@redhat.com'

Thanks a lot! Sadly enough, that version is also broken (see below).
asm/suspend.h only exists in the i386 subtree, and the __down_write_trylock
declaration problem is still there.

Oliver

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
-pipe -mno-fp-regs -ffixed-8 -mcpu=ev67 -Wa,-mev6   -DKBUILD_BASENAME=main
-c -o init/main.o init/main.c
In file included from /usr/src/linux/include/asm/semaphore.h:16,
                 from /usr/src/linux/include/linux/fs.h:200,
                 from /usr/src/linux/include/linux/capability.h:17,
                 from /usr/src/linux/include/linux/binfmts.h:5,
                 from /usr/src/linux/include/linux/sched.h:9,
                 from /usr/src/linux/include/linux/mm.h:4,
                 from /usr/src/linux/include/linux/slab.h:14,
                 from /usr/src/linux/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src/linux/include/linux/rwsem.h: In function `down_read_trylock':
/usr/src/linux/include/linux/rwsem.h:57: warning: implicit declaration of
function `__down_read_trylock'
/usr/src/linux/include/linux/rwsem.h: In function `down_write_trylock':
/usr/src/linux/include/linux/rwsem.h:79: warning: implicit declaration of
function `__down_write_trylock'
In file included from init/main.c:30:
/usr/src/linux/include/linux/suspend.h:4:25: asm/suspend.h: No such file or
directory
make: *** [init/main.o] Error 1



> -----Original Message-----
> From:	Bob Lindell [SMTP:lindell@cub.isi.edu]
> Sent:	Tuesday, July 09, 2002 5:53 PM
> To:	axp-list@redhat.com
> Subject:	Re: sched-O(1) in 2.4 kernels on alpha? 
> 
> You might try 2.4.19rc1-ac1.  The changelog includes:
> 
> o       Alpha updates for O(1) scheduler                (Robert Love)
> 
> Bob
> 
> > Hi,
> > 
> > Did anybody succeed in getting the O(1) scheduler to work on 2.4
> kernels?
> > There are several patches around, e.g.
> > http://marc.theaimsgroup.com/?l=linux-kernel&m=102399657506291&w=2  ,
> but no
> > one compiles on my UP2000+. Besides other problems, it seems
> > linux/sched_runqueue.h is missing.
> > I also tried the 2.4.19-pre10-aa[34] patches, which fail with an
> "undefined
> > reference to `schedule_tail' " in arch/alpha/kernel.o during linking.
> Any
> > help is greatly appreciated.
> > 
> > 	Oliver
> > 
> > 
> > 
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

* Re: sched-O(1) in 2.4 kernels on alpha?
  2002-07-09 12:06 ` sched-O(1) in 2.4 kernels on alpha? Heid Oliver
  2002-07-09 15:52   ` Bob Lindell
@ 2002-07-09 16:30   ` Michal Jaegermann
  1 sibling, 0 replies; 5+ messages in thread
From: Michal Jaegermann @ 2002-07-09 16:30 UTC (permalink / raw)
  To: axp-list

On Tue, Jul 09, 2002 at 02:06:33PM +0200, Heid Oliver wrote:
> 
> Did anybody succeed in getting the O(1) scheduler to work on 2.4 kernels?

Yes.

> Besides other problems, it seems
> linux/sched_runqueue.h is missing.

You would need to grab some bits and pieces from 2.5 kernels - mostly
in headers.

At ftp://ftp.harddata.com/pub/kernel_Nautilus/ you will find also a
"port" of 2.4.18-4 kernel from Red Hat 7.3 for x86 which I did some time
ago.  Source and binary rpms (binaries are "generic" and should
work not only on Nautilus boards).  This includes some variant of O(1)
scheduler as well.

  Michal




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

* Re: sched-O(1) in 2.4 kernels on alpha?
  2002-07-09 16:16 ` Heid Oliver
@ 2002-07-09 16:45   ` Bob Lindell
  0 siblings, 0 replies; 5+ messages in thread
From: Bob Lindell @ 2002-07-09 16:45 UTC (permalink / raw)
  To: axp-list

> Thanks a lot! Sadly enough, that version is also broken (see below).
> asm/suspend.h only exists in the i386 subtree, and the __down_write_trylock
> declaration problem is still there.
> 
> Oliver
> 
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
> -pipe -mno-fp-regs -ffixed-8 -mcpu=ev67 -Wa,-mev6   -DKBUILD_BASENAME=main
> -c -o init/main.o init/main.c
> In file included from /usr/src/linux/include/asm/semaphore.h:16,
>                  from /usr/src/linux/include/linux/fs.h:200,
>                  from /usr/src/linux/include/linux/capability.h:17,
>                  from /usr/src/linux/include/linux/binfmts.h:5,
>                  from /usr/src/linux/include/linux/sched.h:9,
>                  from /usr/src/linux/include/linux/mm.h:4,
>                  from /usr/src/linux/include/linux/slab.h:14,
>                  from /usr/src/linux/include/linux/proc_fs.h:5,
>                  from init/main.c:15:
> /usr/src/linux/include/linux/rwsem.h: In function `down_read_trylock':

These seem to be in the ac1 patch, but not used.  Try commenting the trylocks
defs out of linux/rwsem.h.

> /usr/src/linux/include/linux/rwsem.h:57: warning: implicit declaration of
> function `__down_read_trylock'
> /usr/src/linux/include/linux/rwsem.h: In function `down_write_trylock':
> /usr/src/linux/include/linux/rwsem.h:79: warning: implicit declaration of
> function `__down_write_trylock'
> In file included from init/main.c:30:
> /usr/src/linux/include/linux/suspend.h:4:25: asm/suspend.h: No such file or

In the 2.5.25 kernel, file linux/suspend.h:

#ifdef CONFIG_X86
#include <asm/suspend.h>
#endif

> directory
> make: *** [init/main.o] Error 1
> 
> 
> 
> > -----Original Message-----
> > From:	Bob Lindell [SMTP:lindell@cub.isi.edu]
> > Sent:	Tuesday, July 09, 2002 5:53 PM
> > To:	axp-list@redhat.com
> > Subject:	Re: sched-O(1) in 2.4 kernels on alpha? 
> > 
> > You might try 2.4.19rc1-ac1.  The changelog includes:
> > 
> > o       Alpha updates for O(1) scheduler                (Robert Love)
> > 
> > Bob
> > 
> > > Hi,
> > > 
> > > Did anybody succeed in getting the O(1) scheduler to work on 2.4
> > kernels?
> > > There are several patches around, e.g.
> > > http://marc.theaimsgroup.com/?l=linux-kernel&m=102399657506291&w=2  ,
> > but no
> > > one compiles on my UP2000+. Besides other problems, it seems
> > > linux/sched_runqueue.h is missing.
> > > I also tried the 2.4.19-pre10-aa[34] patches, which fail with an
> > "undefined
> > > reference to `schedule_tail' " in arch/alpha/kernel.o during linking.
> > Any
> > > help is greatly appreciated.
> > > 
> > > 	Oliver
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Axp-list mailing list
> > > Axp-list@redhat.com
> > > https://listman.redhat.com/mailman/listinfo/axp-list
> > 
> > 
> > 
> > _______________________________________________
> > Axp-list mailing list
> > Axp-list@redhat.com
> > https://listman.redhat.com/mailman/listinfo/axp-list
> 
> 
> 
> _______________________________________________
> Axp-list mailing list
> Axp-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/axp-list




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

end of thread, other threads:[~2002-07-09 16:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <oliver.heid@siemens.com>
2002-07-09 12:06 ` sched-O(1) in 2.4 kernels on alpha? Heid Oliver
2002-07-09 15:52   ` Bob Lindell
2002-07-09 16:30   ` Michal Jaegermann
2002-07-09 16:16 ` Heid Oliver
2002-07-09 16:45   ` Bob Lindell

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