nuttx/sched/irq
ligd 10529c7d0a sched: fix kasan report error when open CONFIG_DEBUG_MM
reason:
1. g_running_tasks = thread A
2. thread A exit (free thread A's tcb) -> thread B
3. thread B interrupt by irq
4. check g_running_tasks->flags -> kasan report used after free

rootcause:
g_running_tasks has't set completely when syscall hanppened

Resolve:
Use rtcb (get at ISR begining) instead

Signed-off-by: ligd <liguiding1@xiaomi.com>
2022-09-09 19:00:05 +02:00
..
irq_attach.c
irq_chain.c
irq_csection.c
irq_dispatch.c sched: fix kasan report error when open CONFIG_DEBUG_MM 2022-09-09 19:00:05 +02:00
irq_foreach.c
irq_initialize.c
irq_procfs.c irq_procfs: fix divide 0 error 2022-07-22 10:53:44 +08:00
irq_spinlock.c
irq_unexpectedisr.c
irq.h sched: Remove the unnecessary weak_function 2022-08-30 09:42:24 +02:00
Make.defs