You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/06/13 05:40:19 UTC

[GitHub] [incubator-nuttx] jlaitine commented on a diff in pull request #6025: Add vm map

jlaitine commented on code in PR #6025:
URL: https://github.com/apache/incubator-nuttx/pull/6025#discussion_r895342388


##########
mm/shm/shm_initialize.c:
##########
@@ -69,20 +69,20 @@ struct shm_info_s g_shminfo =
 
 int shm_group_initialize(FAR struct task_group_s *group)
 {
-  DEBUGASSERT(group && !group->tg_shm.gs_handle);
+  int ret = -ENOMEM;
 
-  group->tg_shm.gs_handle =
+  GRAN_HANDLE shm_allocator =

Review Comment:
   These are part of SYS-V inspired shm, and are not really related to this PR, which only try to add task group specific list of  VM mappings, in order to be able to do munmap.
   



-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org