ovs-rcu: Log the name of the main thread as "main" instead of "".
authorBen Pfaff <blp@nicira.com>
Tue, 29 Apr 2014 21:44:39 +0000 (14:44 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 29 Apr 2014 22:18:33 +0000 (15:18 -0700)
commit0d593ee424de4bb9e3d4dbe7d81c126a4efaa267
treee160aeecf800b539a0e99924b4c0180120dbe6b2
parente45d584eea92b71348501ce648f654837b14bb0f
ovs-rcu: Log the name of the main thread as "main" instead of "".

The main thread has the empty string as its name, but that's not a good
log string.

Without this patch we can get log message like
    blocked 1000 ms waiting for  to quiesce
from ovsrcu_synchronize().

Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Alex Wang <alexw@nicira.com>
lib/ovs-rcu.c