Module Name:    src
Committed By:   ozaki-r
Date:           Tue Dec  5 03:23:29 UTC 2017

Modified Files:
        src/doc: TODO.smpnet

Log Message:
Mention the limitation of enabling both NET_MPSAFE and ALTQ


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/doc/TODO.smpnet

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/TODO.smpnet
diff -u src/doc/TODO.smpnet:1.17 src/doc/TODO.smpnet:1.18
--- src/doc/TODO.smpnet:1.17	Mon Nov 20 09:01:20 2017
+++ src/doc/TODO.smpnet	Tue Dec  5 03:23:29 2017
@@ -1,4 +1,4 @@
-$NetBSD: TODO.smpnet,v 1.17 2017/11/20 09:01:20 ozaki-r Exp $
+$NetBSD: TODO.smpnet,v 1.18 2017/12/05 03:23:29 ozaki-r Exp $
 
 MP-safe components
 ==================
@@ -173,3 +173,12 @@ ec_multiaddrs must be protected by ec_lo
 already MP-safe, however, device drivers that use the data should also be fixed.
 A typical change should be to protect manipulations of the data via ETHER_*
 macros such as ETHER_FIRST_MULTI by ETHER_LOCK and ETHER_UNLOCK.
+
+ALTQ
+----
+
+If ALTQ is enabled in the kernel, it enforces to use just one Tx queue (if_snd)
+for packet transmissions, resulting in serializing all Tx packet processing on
+the queue.  We should probably design and implement an alternative queuing
+mechanism that deals with multi-core systems at the first place, not making the
+existing ALTQ MP-safe because it's just annoying.

Reply via email to