anchao commented on code in PR #17739: URL: https://github.com/apache/nuttx/pull/17739#discussion_r2652908907
########## sched/task/task_fork.c: ########## @@ -137,7 +137,7 @@ FAR struct tcb_s *nxtask_setup_fork(start_t retaddr) /* Allocate a TCB for the child task. */ - child = kmm_zalloc(sizeof(struct tcb_s) + sizeof(struct task_group_s)); + child = kmm_zalloc(sizeof(struct tcb_s)); Review Comment: https://github.com/apache/nuttx/blob/master/Documentation/guides/kernel_threads_with_custom_stacks.rst?plain=1#L34 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
