1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-07 09:20:11 +00:00

Try to solve timeout race by not touching softtics here.

This commit is contained in:
Poul-Henning Kamp 1998-01-11 19:07:58 +00:00
parent 58ba5f4a30
commit bb303fe246
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=32444
2 changed files with 4 additions and 8 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
* $Id: kern_clock.c,v 1.50 1998/01/10 14:55:02 phk Exp $
* $Id: kern_clock.c,v 1.51 1998/01/11 00:44:27 phk Exp $
*/
/* Portions of this software are covered by the following: */
@ -629,9 +629,7 @@ hardclock(frame)
CPU_CLOCKUPDATE(&time, &newtime);
}
if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) == NULL) {
softticks++;
} else {
if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) != NULL) {
setsoftclock();
}
}

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_clock.c 8.5 (Berkeley) 1/21/94
* $Id: kern_clock.c,v 1.50 1998/01/10 14:55:02 phk Exp $
* $Id: kern_clock.c,v 1.51 1998/01/11 00:44:27 phk Exp $
*/
/* Portions of this software are covered by the following: */
@ -629,9 +629,7 @@ hardclock(frame)
CPU_CLOCKUPDATE(&time, &newtime);
}
if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) == NULL) {
softticks++;
} else {
if (TAILQ_FIRST(&callwheel[ticks & callwheelmask]) != NULL) {
setsoftclock();
}
}