Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jun 2007 10:49:17 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        Jeff Roberson <jeff@freebsd.org>
Cc:        cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern sched_4bsd.c sched_ule.c
Message-ID:  <20070606104316.U51903@delplex.bde.org>
In-Reply-To: <200706050412.l554CkdC019916@repoman.freebsd.org>
References:  <200706050412.l554CkdC019916@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Jun 2007, Jeff Roberson wrote:

> jeff        2007-06-05 04:12:46 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    sys/kern             sched_4bsd.c sched_ule.c
>  Log:
>   - Better fix for previous error; use DEVOLATILE on the td_lock pointer
>     it can actually sometimes be something other than sched_lock even on
>     schedulers which rely on a global scheduler lock.
>
>  Tested by:      kan

In another reply, I wrote:
>> Should know better than to use __DECONST: C programmers.

Should know that using __DEVOLATILE is 100 times worse than using __DECONST:
C programmers.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070606104316.U51903>