openharmony_kernel_liteos_m/kernel/include
zhushengle bcec32e389 fix: 延时队列为NULL时,返回的响应时间为64位最大值,导致无法更新tick timer的响应周期
问题描述:
  当g_schedResponseTime = OS_SCHED_MAX_RESPONSE_TIME,且nextExpireTime =(UINT64-1时,
  表示系统的延时队列已为NULL, 此时tick timer 中应该设置为最大值,但由于判断
  g_schedResponseTime - nextExpireTime >= OS_CYCLE_PER_TICK,导致条件不成立,直接返回,
  无法将其设置为最大值,导致tick 中断一直频繁响应。
解决方案:
  将延时队列为NULL时的返回值以及idle线程的时间片修改为OS_SCHED_MAX_RESPONSE_TIME - OS_CYCLE_PER_TICK,
  保证延时队列为NULL,能够正常设置tick响应的最大值。

Close #I3W1LF

Change-Id: I0d09119240ae5a50ddcb0c96fb23cd3d6e70b892
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-06-17 20:23:13 +08:00
..
los_config.h !180 update: rename LOS_BackTraceInit 2021-06-16 13:45:04 +08:00
los_event.h fix: fix destroy typo 2021-05-18 10:53:39 +08:00
los_membox.h fix: fix LOS_MEMBOX_ALIGNED macro name 2021-04-26 09:42:24 +08:00
los_memory.h remove __cplusplus guards in .c files 2021-04-19 18:19:28 +08:00
los_mux.h fix:Fixed kernel error with header protector and header comment description. 2021-04-26 21:13:55 +08:00
los_queue.h fix: fix typo in comment 2021-06-03 20:39:33 +08:00
los_sched.h fix: 延时队列为NULL时,返回的响应时间为64位最大值,导致无法更新tick timer的响应周期 2021-06-17 20:23:13 +08:00
los_sem.h fix:Fixed kernel error with header protector and header comment description. 2021-04-26 21:13:55 +08:00
los_sortlink.h IssueNo:#I3IK07 2021-04-13 21:48:04 +08:00
los_swtmr.h fix: fix length typo 2021-05-18 11:23:43 +08:00
los_task.h fix: fix LOS_TaskNameGet comment 2021-05-19 14:33:51 +08:00
los_tick.h fix:Fixed kernel error with header protector and header comment description. 2021-04-26 21:13:55 +08:00