This is helpful, just two comments,
On Mon, Apr 28, 2014 at 9:06 AM, Ben Pfaff <[email protected]> wrote:
> This patch is a prerequisite for making RCU report the name of a thread
> that is blocking RCU synchronization,
> *because the easiest way to do that gets the name of the thread in
> ovsrcu_quiesce_end(), *which is called before
> the thread function is called (so it won't get a name set within the thread
> function itself).
>
Just curious, should we change the sentence in bold to "to do that is to
get ..."
do we still need the ovsrcu_quiesce_end() here?
--- a/lib/ovs-thread.c
+++ b/lib/ovs-thread.c
@@ -293,7 +293,6 @@ ovs_thread_create(const char *name, void *(*start)(void
*), void *arg)
forbid_forking("multiple threads exist");
multithreaded = true;
- ovsrcu_quiesce_end();
aux = xmalloc(sizeof *aux);
aux->start = start;
Acked-by: Alex Wang <[email protected]>
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev