Re: Plans for 5.3

From: Morten Rodal <morten_at_rodal.no>
Date: Thu, 25 Dec 2003 11:09:13 +0100
On Wed, Dec 24, 2003 at 05:50:33PM -0700, Scott Long wrote:
> Morten Rodal wrote:
> >On Tue, Dec 23, 2003 at 11:39:21PM -0700, Scott Long wrote:
> >
> >>- Make ULE be the default scheduler.  This is a 'dogfood' item in that
> >> by making it the default early on, hopefully bugs can be found and
> >> addressed quickly.  Jeff Roberson is the ULE person and has been very
> >> responsive to bug reports.
> >>
> >
> >
> >I have not been able to compile a sparc64 kernel with SCHED_ULE.  It
> >seems sparc64 is missing some smp_topology (if I recall correctly).
> >Hopefully it shouldn't be too hard to fix.
> >
> 
> Have you contacted Jeff Roberson about this?
> 

No, but I have CC'ed him now.

It seems only i386 and amd64 have hooks for smp_topology:

/usr/src/sys# grep -R smp_topology *
amd64/amd64/mp_machdep.c:struct cpu_top *smp_topology;
i386/i386/mp_machdep.c:struct cpu_top *smp_topology;
i386/i386/mp_machdep.c: /* Build the smp_topology map. */
i386/i386/mp_machdep.c: smp_topology = &mp_top;
kern/sched_ule.c:       if (smp_topology == NULL) {
kern/sched_ule.c:               for (i = 0; i < smp_topology->ct_count; i++) {
kern/sched_ule.c:                       cg = &smp_topology->ct_group[i];
kern/sched_ule.c:               ksg_maxid = smp_topology->ct_count - 1;
sys/smp.h:extern struct cpu_top *smp_topology;


-- 
Morten Rodal


Received on Thu Dec 25 2003 - 01:09:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC