cvs commit: src/sys/kern sched_4bsd.c sched_ule.c

Bruce Evans brde at
Wed Jun 6 00:49:24 UTC 2007

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.


More information about the cvs-src mailing list