improve POSIX Key manager by one rbtree approach.