K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-11-05T06:42:30.142700Z K 7 svn:log V 526 Merge mutex link code from libthr.user_requeue. Now following the change in kernel, we use UMUTEX_SIMPLE bit flag to avoid use thread id from process-private mutex, so we don't need to link mutex into list, this saves some cycles. Not that for priority-protect mutex, we still need to link it, because we should restore correct priority after unlocking a such kind of mutex. Also the priority-inhertied mutex needs to be linked, because we still use thread ID as lock-word. The simplest mutex is now a bit faster then before. END