Re: small scheduler hack/patch

2003-07-11 Thread Terry Lambert
Marcel Moolenaar wrote: > On Thu, Jul 10, 2003 at 03:03:41PM -0700, Julian Elischer wrote: > > it comes I think from the fact that some hardware treats things as > > bitmaps. (?) > > I have to guess that a bitmap is a natural way to represent sets > when the sets aren't large and that this is why

Re: small scheduler hack/patch

2003-07-10 Thread Marcel Moolenaar
On Thu, Jul 10, 2003 at 03:03:41PM -0700, Julian Elischer wrote: > > it comes I think from the fact that some hardware treats things as > bitmaps. (?) I have to guess that a bitmap is a natural way to represent sets when the sets aren't large and that this is why we use bitmaps. We have a need to

Re: small scheduler hack/patch

2003-07-10 Thread Julian Elischer
On Thu, 10 Jul 2003, Marcel Moolenaar wrote: > On Fri, Jul 11, 2003 at 07:21:16AM +1000, Bruce Evans wrote: > > have MD definitions. Its first arg has type u_int64_t on ia64's and > > u_int on other arches. This is bogus for ia64's since subr_smp.c uses > > u_int for all bitmaps of CPUs, so sy

Re: small scheduler hack/patch

2003-07-10 Thread Marcel Moolenaar
On Fri, Jul 11, 2003 at 07:21:16AM +1000, Bruce Evans wrote: > have MD definitions. Its first arg has type u_int64_t on ia64's and > u_int on other arches. This is bogus for ia64's since subr_smp.c uses > u_int for all bitmaps of CPUs, so systems with more than 32 CPUs cannot > actually work. Th

Re: small scheduler hack/patch

2003-07-10 Thread John Baldwin
On 10-Jul-2003 Bruce Evans wrote: > On Thu, 10 Jul 2003, Julian Elischer wrote: > >> I have a small "proof of concept" scheduler hack at: >> http://www.freebsd.org/~julian/it.diff >> ... >> It's only implemented for SMP/i386 as the code to halt the cpu is only >> present (from my quick view) in x

Re: small scheduler hack/patch

2003-07-10 Thread Julian Elischer
On Fri, 11 Jul 2003, Bruce Evans wrote: > On Thu, 10 Jul 2003, Julian Elischer wrote: > > > I have a small "proof of concept" scheduler hack at: > > http://www.freebsd.org/~julian/it.diff > > ... > > It's only implemented for SMP/i386 as the code to halt the cpu is only > > present (from my qui

Re: small scheduler hack/patch

2003-07-10 Thread Bruce Evans
On Thu, 10 Jul 2003, Julian Elischer wrote: > I have a small "proof of concept" scheduler hack at: > http://www.freebsd.org/~julian/it.diff > ... > It's only implemented for SMP/i386 as the code to halt the cpu is only > present (from my quick view) in x86 and it doesn't make sense in UP.. ipi_se