Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: M2 assertion with today's current



On Thu, 31 Jan 2008 01:13:41 +0000
"Mindaugas R." <rmind%NetBSD.org@localhost> wrote:

> Matthias Drochner <M.Drochner%fz-juelich.de@localhost> wrote:
> > OK, that one is solved: the address calculation in sched_cpuattach()
> > of sched_m2 didn't work as expected. It uses the roundup()
> > macro with a signed argument which leads to unexpected results
> > for addresses >2G.
> > Since CACHE_LINE_SIZE is a power-of-two roundup() is too expensive
> > here anyway -- something doing simple bitmasks would be better,
> > but for not this one fixes it:
> 
> Good catch! We have roundup2() which works with power of two values.
> Commited.

Thanks, it fixed my original problem too.
-T




Home | Main Index | Thread Index | Old Index