nuttx/sched/group
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
..
CMakeLists.txt sched/group: replace group_findbypid to task_getgroup 2024-03-05 22:24:52 +08:00
group_argvstr.c sched/task: save argument counter to avoid limit check 2024-03-05 22:25:28 +08:00
group_childstatus.c
group_continue.c nuttx/sched: merge up_block_task and up_unblock_task 2022-11-22 22:59:08 +08:00
group_create.c sched/group: move task group into task_tcb_s to improve performance 2024-03-10 11:45:46 -03:00
group_exitinfo.c
group_foreachchild.c sched/group: move task group into task_tcb_s to improve performance 2024-03-10 11:45:46 -03:00
group_free.c
group_getegid.c sched: implement effective uid and gid interfaces 2023-08-09 17:07:58 +08:00
group_geteuid.c sched: implement effective uid and gid interfaces 2023-08-09 17:07:58 +08:00
group_getgid.c
group_getuid.c
group_join.c sched/group: change type of task group member to single queue 2024-03-07 12:39:29 +08:00
group_killchildren.c sched/group: skip child wait if here is only self in member list 2024-03-07 22:53:19 +08:00
group_leave.c sched/group: set clear flag if the group is not really needed 2024-03-11 13:58:25 +09:00
group_malloc.c
group_realloc.c Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
group_setegid.c sched: implement effective uid and gid interfaces 2023-08-09 17:07:58 +08:00
group_seteuid.c sched: implement effective uid and gid interfaces 2023-08-09 17:07:58 +08:00
group_setgid.c
group_setuid.c
group_setupidlefiles.c sched: fix the minor style issue 2023-10-25 15:46:45 +08:00
group_setuptaskfiles.c sched/taskfiles: skip unnecessary file open/close operations to improve performance 2023-11-16 07:30:36 -08:00
group_signal.c signal: fix group signal can't dispatch some parent group twice 2023-08-03 03:35:59 -07:00
group_suspendchildren.c
group_waiter.c sched/group: Implement group_drop() 2023-02-01 09:49:09 -03:00
group_zalloc.c
group.h sched/group: move task group into task_tcb_s to improve performance 2024-03-10 11:45:46 -03:00
Make.defs sched/group: replace group_findbypid to task_getgroup 2024-03-05 22:24:52 +08:00