yangguangcai
f324d1d8dd
SMP: fix repeat entry oneshot_tick_start
Situation:
Assume we have 2 cpus.
CPU0 CPU1
1. -> nxsched_alarm_expiration
2. -> nxshced_timer_start
3. -> ONESHOT_TICK_START
4. now timer in IRQ
5. in thread
6. -> wd_start
7. -> nxshced_timer_start
8. -> ONESHOT_TICK_START
9. reentry timer crash
Fix:
Enter critical section before nxsched_timer_start
Signed-off-by: yangguangcai <yangguangcai@xiaomi.com>
2023-08-03 03:20:40 -07:00
..
2023-04-25 14:33:19 +02:00
2023-07-10 13:26:21 +08:00
2023-07-08 13:50:48 +08:00
2023-07-15 23:32:36 +08:00
2023-07-08 13:50:48 +08:00
2023-08-01 09:35:18 -07:00
2023-08-03 03:17:22 -07:00
2023-07-10 23:03:17 +03:00
2023-08-03 03:10:56 -07:00
2023-07-08 13:50:48 +08:00
2023-08-03 03:12:36 -07:00
2023-08-03 03:20:40 -07:00
2023-07-08 13:50:48 +08:00
2023-08-03 03:12:36 -07:00
2023-07-31 00:47:42 -07:00
2023-07-08 13:50:48 +08:00
2023-07-26 10:41:52 +02:00
2023-07-08 13:50:48 +08:00
2023-07-30 23:40:59 +03:00
2023-07-08 13:50:48 +08:00
2023-07-20 08:11:30 +02:00
2023-02-08 02:51:23 +08:00