Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/doc Protecting ec_multi* of ethercom with ec_lock have been ...
details: https://anonhg.NetBSD.org/src/rev/b03d1a7b0430
branches: trunk
changeset: 968206:b03d1a7b0430
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Mon Jan 06 15:21:29 2020 +0000
description:
Protecting ec_multi* of ethercom with ec_lock have been finished now.
diffstat:
doc/TODO.smpnet | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
diffs (25 lines):
diff -r 75bb6b3ce548 -r b03d1a7b0430 doc/TODO.smpnet
--- a/doc/TODO.smpnet Mon Jan 06 15:19:00 2020 +0000
+++ b/doc/TODO.smpnet Mon Jan 06 15:21:29 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: TODO.smpnet,v 1.30 2020/01/06 05:38:59 msaitoh Exp $
+$NetBSD: TODO.smpnet,v 1.31 2020/01/06 15:21:29 msaitoh Exp $
MP-safe components
==================
@@ -175,15 +175,6 @@
- opencrypto(9)'s crypto_newsession()/crypto_freesession() aren't scalable
as they are serialized by one mutex
-ec_multi* of ethercom
----------------------
-
-ec_multiaddrs and ec_multicnt of struct ethercom and items listed in
-ec_multiaddrs must be protected by ec_lock. The core of ethernet subsystem is
-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
----
Home |
Main Index |
Thread Index |
Old Index