Current-Users archive

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

Re: M2 assertion with today's current




To: M.Drochner%fz-juelich.de@localhost

Subject: Re: M2 assertion with today's current

From: "Mindaugas R." <rmind%NetBSD.org@localhost>

Date: Thu, 31 Jan 2008 01:13:41 +0000


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.

-- 
Best regards,
Mindaugas
www.NetBSD.org




Follow-Ups:

Re: M2 assertion with today's current
From: Tobias Nygren


References:

Re: M2 assertion with today's current
From: Matthias Drochner




Prev by Date: Re: kauth and sched_{get,set}param

Next by Date: Re: kauth and sched_{get,set}param

Previous by Thread: Re: M2 assertion with today's current

Next by Thread: Re: M2 assertion with today's current

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index