Source-Changes-HG archive

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

[src/pgoyette-compat]: src/doc Add entry for the need to use localcount(9) to...



details:   https://anonhg.NetBSD.org/src/rev/c82dec9cdc4d
branches:  pgoyette-compat
changeset: 830702:c82dec9cdc4d
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Fri Sep 14 06:21:17 2018 +0000

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

Thanks riastradh@

diffstat:

 doc/TODO.compat-module |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 37836963d4d2 -r c82dec9cdc4d doc/TODO.compat-module
--- a/doc/TODO.compat-module    Fri Sep 14 05:37:08 2018 +0000
+++ b/doc/TODO.compat-module    Fri Sep 14 06:21:17 2018 +0000
@@ -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 @@
     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
 ------------------------------------



Home | Main Index | Thread Index | Old Index