incubator-nuttx/sched/group
Oki Minabe 22787ee109 sched/group: addrenv: allocate current group for each cpu
Summary:
- In case of SMP and ADDRENV, allocate current group for each cpu
  - g_pid_current holds pid of the group and uses for addrenv switching
  - allocate g_group_current for each cpu in stead of g_pid_current
  - g_group_current is the array that pointed to the current task_group_s struct

Impact:
- ADDRENV=y and SMP=y

Testing:
- sabre-6quad:smp w/ qemu
- sabre-6quad:knsh w/ qemu
- sabre-6quad:knsh_smp w/ qemu (WIP)

Signed-off-by: Oki Minabe <minabe.oki@gmail.com>
2022-05-08 20:34:31 +03:00
..
Make.defs Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
group.h sched/group: addrenv: allocate current group for each cpu 2022-05-08 20:34:31 +03:00
group_addrenv.c sched/group: addrenv: allocate current group for each cpu 2022-05-08 20:34:31 +03:00
group_childstatus.c group/child_status: Dynamically expand group child_status 2021-07-15 20:14:57 -07:00
group_continue.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
group_create.c env_dup: Fix copying of env between address environments 2022-04-21 18:38:37 +08:00
group_exitinfo.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_find.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
group_foreachchild.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_free.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
group_getgid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_getuid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_join.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
group_killchildren.c Don't include debug.h from public header file 2021-06-01 06:42:02 +09:00
group_leave.c sched/group: addrenv: allocate current group for each cpu 2022-05-08 20:34:31 +03:00
group_malloc.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00
group_realloc.c Fix the initial idle tasks environment 2022-03-16 20:21:19 +08:00
group_setgid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_setuid.c Don't include assert.h from public header file 2021-06-03 08:36:03 -07:00
group_setupidlefiles.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_setupstreams.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_setuptaskfiles.c sched/group: Move files_initlist/lib_stream_initialize to group_alloc 2022-03-02 20:29:52 +09:00
group_signal.c group/group_signal: cancel dispatch signal when 2021-05-17 07:14:27 -05:00
group_suspendchildren.c sourcefiles: Fix relative path in file header 2021-03-09 23:18:28 +08:00
group_waiter.c sched/group: Simplify the allocation and deallocation logic 2022-03-04 12:11:24 +09:00
group_zalloc.c sched: Author Gregory Nutt: update licenses to Apache 2021-02-09 01:21:53 -08:00