<div dir="ltr">Gedare, I'm very sorry to find(just now) there is some work hasn't been included in this patch, it is exactly related to confdefs.h, <br>because use thread*keys to caculate memory is not very accurate, I introduce a key_pair variable(<a href="http://www.rtems.org/wiki/index.php/Use_Hash_or_Map_in_POSIX_Key">http://www.rtems.org/wiki/index.php/Use_Hash_or_Map_in_POSIX_Key</a>), there are several commits on my github(<a href="https://github.com/ashi08104/rtems/commits/one_rbtree">https://github.com/ashi08104/rtems/commits/one_rbtree</a>, commits after <br>
Aug 28,2012 are related). I'll update the patch as soon as possible.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Mar 6, 2013 at 6:12 AM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">---<br>
cpukit/sapi/include/confdefs.h | 7 ++++++-<br>
<div> 1 files changed, 6 insertions(+), 1 deletions(-)<br>
<br>
diff --git a/cpukit/sapi/include/confdefs.h b/cpukit/sapi/include/confdefs.h<br>
</div>index cc55e92..fcfdb44 100644<br>
--- a/cpukit/sapi/include/confdefs.h<br>
+++ b/cpukit/sapi/include/confdefs.h<br>
@@ -1713,7 +1713,12 @@ rtems_fs_init_functions_t rtems_fs_init_helper =<br>
<div> #else<br>
#define CONFIGURE_MEMORY_FOR_POSIX_KEYS(_keys) \<br>
(_Configure_Object_RAM(_keys, sizeof(POSIX_Keys_Control) ) \<br>
- + (_keys) * 3 * _Configure_From_workspace(sizeof(void *) * 2))<br>
</div>+ + _Configure_From_workspace( \<br>
<div>+ _Configure_Max_Objects(CONFIGURE_MAXIMUM_POSIX_THREADS) \<br>
+ * _Configure_Max_Objects(_keys) \<br>
</div>+ * sizeof(POSIX_Keys_Rbtree_node) \<br>
+ ) \<br>
+ )<br>
<div><div> #endif<br>
<br>
#ifndef CONFIGURE_MAXIMUM_POSIX_TIMERS<br>
--<br>
1.7.1<br>
<br>
_______________________________________________<br>
rtems-devel mailing list<br>
<a href="mailto:rtems-devel@rtems.org" target="_blank">rtems-devel@rtems.org</a><br>
<a href="http://www.rtems.org/mailman/listinfo/rtems-devel" target="_blank">http://www.rtems.org/mailman/listinfo/rtems-devel</a><br>
</div></div></blockquote></div><br></div></div>