Plans for 5.3
Morten Rodal
morten at rodal.no
Thu Dec 25 02:09:22 PST 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20031225/50034a29/attachment.bin
More information about the freebsd-current
mailing list