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 2023/01/12 06:30:12 UTC

[GitHub] [nuttx] jlaitine commented on a diff in pull request #8085: Add common virtual region allocator

jlaitine commented on code in PR #8085:
URL: https://github.com/apache/nuttx/pull/8085#discussion_r1067747251


##########
mm/shm/shmat.c:
##########
@@ -80,7 +80,8 @@ static int munmap_shm(FAR struct task_group_s *group,
     {
       /* Free the virtual address space */
 
-      shm_free(group, (FAR void *)shmaddr, region->sr_ds.shm_segsz);
+      vm_release_region(get_group_mm(group), (FAR void *)shmaddr,

Review Comment:
   done, good catch



-- 
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