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 2021/07/10 15:36:29 UTC

[GitHub] [incubator-nuttx] Donny9 opened a new pull request #4117: Dynamically extend Pidhash table

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


   ## Summary
   1. Remove the limit on the maximum number of tasks.
   2. Saving memory for simple systems with a small number of tasks but a large config_max_tasks.
   
   When expansion occurs, the new table is defined with twice the space and the contents of the original table are re-hashed into new table. The g_npidhash represents the length of the current table.
   
   All operations on the table are placed in the critical section to protect it.
    
   ## Impact
   save memory and remove task restrictions.
   ## Testing
   daily test
   


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



[GitHub] [incubator-nuttx] xiaoxiang781216 merged pull request #4117: Dynamically extend Pidhash table

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


   


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