Skip to content

Commit c23325d

Browse files
committed
Clarify a comment
1 parent 428b3ef commit c23325d

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

audisp/queue.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@
3737
* Audisp uses a single-producer / single-consumer ring buffer to pass events
3838
* from the auditd main thread to the audisp dispatcher thread. The producer is
3939
* enqueue(), which runs on the same libev thread that handles SIGHUP and sets
40-
* need_queue_depth_change. The consumer is dequeue(), which runs on the
41-
* dispatcher thread; that same dispatcher thread is also the only thread that
42-
* calls increase_queue_depth(). The transient config-loading thread never
40+
* need_queue_depth_change. Note that the libev thread multiplexes the netlink
41+
* and network originating events. The consumer is dequeue(), which runs on
42+
* the dispatcher thread; that same dispatcher thread is also the only thread
43+
* that calls increase_queue_depth(). The transient config-loading thread never
4344
* touches the queue.
4445
*
4546
* The queue's normal producer/consumer synchronization is driven by the

0 commit comments

Comments
 (0)