M sys/kern/subr_taskqueue.c @@ -615,6 +615,7 @@ taskqueue_thread_loop(void *arg) tq = *tqp; TQ_LOCK(tq); while ((tq->tq_flags & TQ_FLAGS_ACTIVE) != 0) { + kprintf("[ALY/DEBUG] %s@cpu#%d: running tq=%p ...\n", __func__, mycpuid, tq); taskqueue_run(tq, 1); TQ_SLEEP(tq, tq, "tqthr"); } @@ -637,6 +638,7 @@ taskqueue_thread_enqueue(void *context) /* Unlock spinlock before wakeup_one() */ TQ_UNLOCK(tq); + kprintf("[ALY/DEBUG] %s@cpu#%d: waking up tq=%p ...\n", __func__, mycpuid, tq); wakeup_one(tq); TQ_LOCK(tq); } [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99468 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=2 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c994c0 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=3 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c993b8 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=0 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=1 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_softc_encrypt@cpu#1: processing ... [ALY/DEBUG] wg_softc_encrypt@cpu#1: encrypting pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_mbuf_reset: m=0xfffff800ac64f600, flags: 0x8002 -> 0x8002, csum_flags: 0x0 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99468 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=2 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c994c0 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=3 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c993b8 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=0 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=1 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_softc_encrypt@cpu#1: processing ... [ALY/DEBUG] wg_softc_encrypt@cpu#1: encrypting pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_mbuf_reset: m=0xfffff800ac650600, flags: 0x8002 -> 0x8002, csum_flags: 0x0 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff80066fe5868, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff80066fe5868 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99468 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=2 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff80066fe5868 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] noise_create_initiation: created initiation wg0: Sending handshake initiation to peer 0 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_input: m=0xfffff800abfd2a00, pktlen=92, sa=INET 192.168.33.4:6222 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99410 ... [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_softc_handshake_receive@cpu#1: processing pkt=0xfffff80066fe5868 [ALY/DEBUG] noise_consume_response: accepted response wg0: Receiving handshake response from peer 0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff800ab3ae698, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff800ab3ae698 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c994c0 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=3 [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff800ab3ae698 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_input: m=0xfffff800abfd2c00, pktlen=32, sa=INET 192.168.33.4:6222 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c993b8 ... [ALY/DEBUG] wg_decrypt_dispatch@cpu#1: dispatched to cpu=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff800ab3ae698, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff800ab3ae698 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#2: waking up tq=0xfffff80065c993b8 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#2: dispatched to cpu=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff800ab3ae698, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff800ab3ae698 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=1 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_softc_encrypt@cpu#1: processing ... [ALY/DEBUG] wg_softc_encrypt@cpu#1: encrypting pkt=0xfffff800ab3ae698 [ALY/DEBUG] wg_mbuf_reset: m=0xfffff800ac651800, flags: 0x8002 -> 0x8002, csum_flags: 0x0 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff800ab3ae698 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff800ab3ae698, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff800ab3ae698 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c99468 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=2 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff800ab3ae698 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0 [ALY/DEBUG] wg_send_keepalive: staged packet=0xfffff800ab3ae698, queue length=1 wg0: Sending keepalive packet to peer 0 [ALY/DEBUG] wg_peer_send_staged: queued packet=0xfffff800ab3ae698 [ALY/DEBUG] taskqueue_thread_enqueue@cpu#1: waking up tq=0xfffff80065c994c0 ... [ALY/DEBUG] wg_encrypt_dispatch@cpu#1: dispatched to cpu=3 [ALY/DEBUG] taskqueue_thread_loop@cpu#1: running tq=0xfffff80065c99410 ... [ALY/DEBUG] wg_deliver_out@cpu#1: delivering pkt=0xfffff800ab3ae698 [ALY/DEBUG] wg_send: remote=INET 192.168.33.4:6222, control=0, ret=0