Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/doc Mention NOMPSAFE



details:   https://anonhg.NetBSD.org/src/rev/3ea09119d635
branches:  trunk
changeset: 827078:3ea09119d635
user:      ozaki-r <ozaki-r%NetBSD.org@localhost>
date:      Thu Oct 12 03:31:39 2017 +0000

description:
Mention NOMPSAFE

diffstat:

 doc/TODO.smpnet |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 3e361fc53b4d -r 3ea09119d635 doc/TODO.smpnet
--- a/doc/TODO.smpnet   Thu Oct 12 03:27:00 2017 +0000
+++ b/doc/TODO.smpnet   Thu Oct 12 03:31:39 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO.smpnet,v 1.14 2017/10/12 03:27:00 knakahara Exp $
+$NetBSD: TODO.smpnet,v 1.15 2017/10/12 03:31:39 ozaki-r Exp $
 
 MP-safe components
 ==================
@@ -84,6 +84,14 @@
 Know issues
 ===========
 
+NOMPSAFE
+--------
+
+We use "NOMPSAFE" as a mark that indicates that the code around it isn't MP-safe
+yet.  We use it in comments and also use as part of function names, for example
+m_get_rcvif_NOMPSAFE.  Let's use "NOMPSAFE" to make it easy to find non-MP-safe
+codes by grep.
+
 bpf
 ---
 



Home | Main Index | Thread Index | Old Index