patch-2.4.19 linux-2.4.19/net/sched/sch_api.c
Next file: linux-2.4.19/net/sched/sch_generic.c
Previous file: linux-2.4.19/net/rose/af_rose.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Aug 2 17:39:46 2002
- Orig file:
linux-2.4.18/net/sched/sch_api.c
- Orig date:
Fri Dec 21 09:42:06 2001
diff -urN linux-2.4.18/net/sched/sch_api.c linux-2.4.19/net/sched/sch_api.c
@@ -1117,7 +1117,7 @@
psched_timer.expires = jiffies + 1*HZ;
#else
unsigned long now = jiffies;
- psched_time_base = ((u64)now)<<PSCHED_JSCALE;
+ psched_time_base += ((u64)(now-psched_time_mark))<<PSCHED_JSCALE;
psched_time_mark = now;
psched_timer.expires = now + 60*60*HZ;
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)