DragonFly commits List (threaded) for 2006-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/kern usched_bsd4.c
dillon 2006/04/23 10:48:59 PDT
DragonFly src repository
Modified files:
sys/kern usched_bsd4.c
Log:
The nticks calculation is still broken. Sometimes the delta systimer
value is less then the periodic value. This has been tracked down to
a 32 bit overflow, but 32 bit overflows are SOP for systimers. The
actual bug is related to lwp_slptime. lwp_slptime is supposed to detect
that an overflow might have occured but apparently it can wind up 0 in
certain cases which have yet to be tracked down.
For now just sanitize nticks.
Reported-by: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Revision Changes Path
1.8 +5 -1 src/sys/kern/usched_bsd4.c
http://www.dragonflybsd.org/cvsweb/src/sys/kern/usched_bsd4.c.diff?r1=1.7&r2=1.8&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]