<div dir="ltr">Hi,<div><br></div><div style>I write a user space rcu, code at </div><div style><a href="https://github.com/zylthinking/tools/blob/master/rcu.h">https://github.com/zylthinking/tools/blob/master/rcu.h</a><br>
</div><div style><a href="https://github.com/zylthinking/tools/blob/master/rcu.c">https://github.com/zylthinking/tools/blob/master/rcu.c</a>.</div><div style><br></div><div style>I notice the main difference with liburcu should be I use a daemon thread to do works such as waking up sleepers, while the liburcu does not.</div>
<div style><br></div><div style>I wonder why we can't use such a thread. When we use it, the rcu_read_(un)lock will not includes wake up writers any more. which will help to improve performance. It is the cost of such a daemon thread is too high?</div>
<div style><br></div><div style>zhao yulong</div></div>