Cleanup: workqueue: update comments referring to call-rcu
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Sun, 9 Dec 2018 11:31:57 +0000 (06:31 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 16 Dec 2021 20:43:47 +0000 (15:43 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
workqueue.c

index 3aa734f2aaa0a8285832fd0a6a6996c327b3aa80..1a9a5934a1147e05b74e7fcad0144938c82f1328 100644 (file)
@@ -38,7 +38,6 @@
 
 #include "compat-getcpu.h"
 #include "urcu/wfcqueue.h"
-#include "urcu-call-rcu.h"
 #include "urcu-pointer.h"
 #include "urcu/list.h"
 #include "urcu/futex.h"
 struct urcu_workqueue {
        /*
         * We do not align head on a different cache-line than tail
-        * mainly because call_rcu callback-invocation threads use
-        * batching ("splice") to get an entire list of callbacks, which
-        * effectively empties the queue, and requires to touch the tail
-        * anyway.
+        * mainly because workqueue threads use batching ("splice") to
+        * get an entire list of callbacks, which effectively empties
+        * the queue, and requires to touch the tail anyway.
         */
        struct cds_wfcq_tail cbs_tail;
        struct cds_wfcq_head cbs_head;
@@ -245,7 +243,7 @@ static void *workqueue_thread(void *arg)
                                uatomic_dec(&workqueue->futex);
                                /*
                                 * Decrement futex before reading
-                                * call_rcu list.
+                                * urcu_work list.
                                 */
                                cmm_smp_mb();
                        } else {
@@ -259,7 +257,7 @@ static void *workqueue_thread(void *arg)
        }
        if (!rt) {
                /*
-                * Read call_rcu list before write futex.
+                * Read urcu_work list before write futex.
                 */
                cmm_smp_mb();
                uatomic_set(&workqueue->futex, 0);
This page took 0.023387 seconds and 4 git commands to generate.