28 Dec
2014
28 Dec
'14
7:44 p.m.
Hi, Sergey! On Dec 28, Sergey Vojtovich wrote:
There're 2 searches and 4 unpins in tdc_acquire_share. Let's simplify it a bit:
retry: while (!search1()) { insert(); search2(); unpin2(); return; }
if (fastpath_suceeded()) { unpin1(); // This is unpin in question, corresponds to search1 return; }
if (deleted) { unpin1(); goto retry; } unpin1();
Ah, okay. Now I see the first lf_hash_search_using_hash_value(). Thanks. Regards, Sergei