Module Name:    src
Committed By:   pgoyette
Date:           Fri Sep 14 06:21:17 UTC 2018

Modified Files:
        src/doc [pgoyette-compat]: TODO.compat-module

Log Message:
Add entry for the need to use localcount(9) to protect removal of
vectored routine pointers.

Thanks riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.3 -r1.1.2.4 src/doc/TODO.compat-module

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.compat-module
diff -u src/doc/TODO.compat-module:1.1.2.3 src/doc/TODO.compat-module:1.1.2.4
--- src/doc/TODO.compat-module:1.1.2.3	Tue Sep 11 08:42:45 2018
+++ src/doc/TODO.compat-module	Fri Sep 14 06:21:17 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: TODO.compat-module,v 1.1.2.3 2018/09/11 08:42:45 pgoyette Exp $ */
+/* $NetBSD: TODO.compat-module,v 1.1.2.4 2018/09/14 06:21:17 pgoyette Exp $ */
 
 DONE
 ----
@@ -50,6 +50,11 @@ TODO - Required for branch merge
     also the compat_netbsd32_sysv module) with individual modules.  Update
     dependencies accordingly.
 
+2.  Wherever we have vectors function calls, we need to protect all uses
+    of the vector using localcount(9).  And when unloading a module, we
+    need to localcount_drain() after replacing the function pointer but
+    before letting the module disappear.
+
 
 TODO - Not required for branch merge
 ------------------------------------

Reply via email to