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 2020/06/29 06:15:39 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 opened a new pull request #1319: Revert "sched/sched_releasetcb.c: Handle custom stack allocations.

xiaoxiang781216 opened a new pull request #1319:
URL: https://github.com/apache/incubator-nuttx/pull/1319


   ## Summary
   Since up_release_stack auto detect whether the memory come from builtin heap
   ```
   if (ttype == TCB_FLAG_TTYPE_KERNEL)
     {
       if (kmm_heapmember(dtcb->stack_alloc_ptr))
         {
           kmm_free(dtcb->stack_alloc_ptr);
         }
     }
   else
     {
       /* Use the user-space allocator if this is a task or pthread */
       if (umm_heapmember(dtcb->stack_alloc_ptr))
         {
           kumm_free(dtcb->stack_alloc_ptr);
         }
     }
   ```
   
   ## Impact
   No since nobody reference this flag yet.
   
   ## Testing
   
   


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

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



[GitHub] [incubator-nuttx] Ouss4 merged pull request #1319: Revert "sched/sched_releasetcb.c: Handle custom stack allocations.

Posted by GitBox <gi...@apache.org>.
Ouss4 merged pull request #1319:
URL: https://github.com/apache/incubator-nuttx/pull/1319


   


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

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