Module Name:    src
Committed By:   pgoyette
Date:           Mon Jan 21 02:28:25 UTC 2019

Modified Files:
        src/doc: TODO.smpnet

Log Message:
Note that kernels with NET_MPSAFE won't work with non-NET_MPSAFE modules.

XXX The initial merge of the [pgoyette-compat] branch will NOT address
XXX this issue.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 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.26 src/doc/TODO.smpnet:1.27
--- src/doc/TODO.smpnet:1.26	Wed Dec 12 07:07:30 2018
+++ src/doc/TODO.smpnet	Mon Jan 21 02:28:25 2019
@@ -1,4 +1,4 @@
-$NetBSD: TODO.smpnet,v 1.26 2018/12/12 07:07:30 maxv Exp $
+$NetBSD: TODO.smpnet,v 1.27 2019/01/21 02:28:25 pgoyette Exp $
 
 MP-safe components
 ==================
@@ -190,3 +190,16 @@ for packet transmissions, resulting in s
 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.
+
+Using kernel modules
+--------------------
+
+Please note that if you enable NET_MPSAFE in your kernel, and you use and
+loadable kernel modules (including compat_xx modules or individual network
+interface if_xxx device driver modules), you will need to build custom
+modules.  For each module you will need to add the following line to its
+Makefile:
+
+	CPPFLAGS+=	NET_MPSAFE
+
+Failure to do this may result in unpredictable behavior.

Reply via email to