nuttx/sched
chao an d468ff3eeb sched/group: set clear flag if the group is not really needed
The delete flag is not synchronized with the life cycle of the group,
if the flag set before waitpid(), the tcb will be mistakenly deleted
by group_del_waiter(), use-after-free will happen.

Regression by:
| commit 29e50ffa73 (origin/master, origin/HEAD)
| Author: chao an <anchao@lixiang.com>
| Date:   Mon Mar 4 09:19:27 2024 +0800
|
|     sched/group: move task group into task_tcb_s to improve performance
|
|     move task group into task_tcb_s to avoid access allocator to improve performance
|
|     for Task Termination, the time consumption will be reduced ~2us (Tricore TC397 300MHZ):
|     15.97(us) -> 13.55(us)
|
|     Signed-off-by: chao an <anchao@lixiang.com>

Signed-off-by: chao an <anchao@lixiang.com>
2024-03-11 13:58:25 +09:00
..
addrenv cmake:complete missing changes during cmake reforming for sched 2023-09-08 21:20:16 +03:00
clock sched/group: change type of task group member to single queue 2024-03-07 12:39:29 +08:00
environ sched/environ: check envcp validity before hold sched_lock() 2024-03-05 22:24:14 +08:00
group sched/group: set clear flag if the group is not really needed 2024-03-11 13:58:25 +09:00
init sched/group: move task group into task_tcb_s to improve performance 2024-03-10 11:45:46 -03:00
instrument sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00
irq SMP: fix crash when switch to new task which is still running 2024-03-01 21:05:00 +09:00
misc assert: fix flags type, should be irqstate_t 2024-01-04 22:16:54 -08:00
module fs: procfs add poll support 2023-12-26 19:23:13 -08:00
mqueue mm/alloc: remove all unnecessary cast for alloc 2023-08-30 14:34:20 +08:00
paging paging: Rename existing CONFIG_PAGING to CONFIG_LEGACY_PAGING 2024-03-05 09:45:49 +08:00
pthread sched/group: move task group into task_tcb_s to improve performance 2024-03-10 11:45:46 -03:00
sched sched/group: set clear flag if the group is not really needed 2024-03-11 13:58:25 +09:00
semaphore misc/rwlock:Implementing read/write locks. 2023-12-02 19:43:19 -08:00
signal sched/group: replace group_findbypid to task_getgroup 2024-03-05 22:24:52 +08:00
task sched/group: move task group into task_tcb_s to improve performance 2024-03-10 11:45:46 -03:00
timer Replace enter_critical_section with spin_irqsave 2023-10-21 11:00:07 +08:00
tls sched/tls: inline group info in flat mode to improve performance 2024-03-01 17:27:26 +08:00
wdog clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
wqueue clock: replace all up_perf_xx with perf_xx 2023-10-02 16:11:43 +02:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig sched: move etc romfs mount from nsh to sched/init 2024-01-09 21:29:46 -03:00
Makefile sched/procfs:use instrument to statistics run time max stack 2023-12-11 02:06:51 -08:00